src/view/MbView.php
public function getAttribute($name = null)
    {
        return is_null($name) ? $this->attributes : Arr::get($this->attributes, $name);
    }
public function getAttribute($name = null)
    {
        return is_null($name) ? $this->attributes : Arr::get($this->attributes, $name);
    }
public function getAttribute ( $ name = null ) { return is_null ( $ name ) ? $ this -> attributes : Arr :: get ( $ this -> attributes , $ name ) ; }
Get variables for view

@param null $name

@return mixed[]
Get variables for view