REBELinBLUE\Deployer\User::__get PHP Method

__get() public method

A hack to allow avatar_url to be called on the result of Auth::user().
public __get ( string $key ) : mixed
$key string
return mixed
    public function __get($key)
    {
        if ($key === 'avatar_url') {
            return $this->getPresenter()->avatar_url;
        }
        return parent::__get($key);
    }