Elgg\DeprecationWrapper::__set PHP Method

__set() public method

Set a property on the object
public __set ( string $name, mixed $value ) : void
$name string Property name
$value mixed Property value
return void
    public function __set($name, $value)
    {
        $this->displayWarning();
        $this->object->{$name} = $value;
    }