src/View.php
public function getLayout()
    {
        if (! $this->layout) {
            $layout = new ViewModel();
            $layout->setTemplate('layout/layout');
            $this->layout = $layout;
        }

        return $this->layout;
    }
public function getLayout()
    {
        if (! $this->layout) {
            $layout = new ViewModel();
            $layout->setTemplate('layout/layout');
            $this->layout = $layout;
        }

        return $this->layout;
    }
public function getLayout ( ) { if ( ! $ this -> layout ) { $ layout = new ViewModel ( ) ; $ layout -> setTemplate ( 'layout/layout' ) ; $ this -> layout = $ layout ; } return $ this -> layout ; }
Gets the layout.

@return \Es\Mvc\ViewModelInterface The layout
Gets the layout .