__get() public method
Returns the value of an object property.
Do not call this method directly as it is a PHP magic method that will be implicitly called when executing $value = $object->property;
.
See also __set().
public mixed __get ( $name ) | ||
---|---|---|
$name | string |
The property name |
return | mixed |
The property value |
throws | yii\base\UnknownPropertyException |
if the property is not defined |
throws | yii\base\InvalidCallException |
if the property is write-only |
Please login to continue.