Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
yii
shell
YiiCaster
PHP Class yii\shell\YiiCaster
Since:
2.0
Author:
Daniel Gomez Pan (
[email protected]
)
Show file
Open project: yiisoft/yii2-shell
Public Methods
Method
Description
castModel
(
ActiveRecord
$model
) :
array
Get an array representing the properties of a model.
Method Details
castModel()
public
static
method
Get an array representing the properties of a model.
public
static
castModel
(
ActiveRecord
$model
) :
array
$model
yii\db\ActiveRecord
return
array