Robbo\Presenter\Presenter::__get PHP Method

__get() public method

Pass any unknown variable calls to present{$variable} or fall through to the injected object.
public __get ( string $var ) : mixed
$var string
return mixed
    public function __get($var)
    {
        if ($method = $this->getPresenterMethodFromVariable($var)) {
            return $this->{$method}();
        }
        return $this->__getDecorator()->decorate(is_array($this->object) ? $this->object[$var] : $this->object->{$var});
    }