Elgg\WidgetDefinition::__get PHP 메소드

__get() 공개 메소드

Magic getter to return the deprecated attribute 'handler'
public __get ( string $name ) : mixed
$name string attribute to get
리턴 mixed
    public function __get($name)
    {
        if ($name === 'handler') {
            // before Elgg 2.2 the widget definitions had the handler attribute as the id
            return $this->id;
        }
        return $this->{$name};
    }