yiisoft/yii2 — pull request #4063 by cebe (2014-06-25 22:01:26+00:00)
Title: split typecast method into two

one method for fetching data and one for sending to db.

fixes #2287