__get() public method
PHP getter magic method.
This method is overridden so that attributes and related objects can be accessed like properties.
See also getAttribute().
| public mixed __get ( $name ) | ||
|---|---|---|
| $name | string |
Property name |
| return | mixed |
Property value |
| throws | yii\base\InvalidParamException |
if relation name is wrong |
Please login to continue.