typecast() protected method (available since version 2.0.3)
Converts the input value according to $phpType after retrieval from the database.
If the value is null or an yii\db\Expression, it will not be converted.
| protected mixed typecast ( $value ) | ||
|---|---|---|
| $value | mixed |
Input value |
| return | mixed |
Converted value |
Please login to continue.