Class yii\shell\YiiCaster
Inheritance | yii\shell\YiiCaster |
---|---|
Available since version | 2.0 |
Source Code | https://github.com/yiisoft/yii2-shell/blob/master/YiiCaster.php |
YiiCaster provides wrapper for casters of psysh
Public Methods
Method | Description | Defined By |
---|---|---|
castModel() | Get an array representing the properties of a model. | yii\shell\YiiCaster |
Method Details
Get an array representing the properties of a model.
public static array castModel ( yii\db\ActiveRecord $model ) | ||
$model | yii\db\ActiveRecord |