public function setLayout($layout, $layoutModule = null)
    {
        $this->layout = $layout;
        $this->layoutModule = $layoutModule;

        return $this;
    }
public function setLayout($layout, $layoutModule = null)
    {
        $this->layout = $layout;
        $this->layoutModule = $layoutModule;

        return $this;
    }
public function setLayout ( $ layout , $ layoutModule = null ) { $ this -> layout = $ layout ; $ this -> layoutModule = $ layoutModule ; return $ this ; }
Defines global template's layout

@param string $layout Template name
@param string $layoutModule Just a basename of that layout inside theme's folder
@return \Krystal\Application\View\ViewManager
Defines global template s layout