protected function getLayout(TemplateInterface $template)
    {
        $layout = new Template($this->layoutPath . EKA_SEP . 'Main');
        $layout->setVar('content', $template->render());
        $layout->setVar('meta', Config::getInstance()->get('Eureka\Meta'));

        return $layout;
    }
protected function getLayout(TemplateInterface $template)
    {
        $layout = new Template($this->layoutPath . EKA_SEP . 'Main');
        $layout->setVar('content', $template->render());
        $layout->setVar('meta', Config::getInstance()->get('Eureka\Meta'));

        return $layout;
    }
protected function getLayout ( TemplateInterface $ template ) { $ layout = new Template ( $ this -> layoutPath . EKA_SEP . 'Main' ) ; $ layout -> setVar ( 'content' , $ template -> render ( ) ) ; $ layout -> setVar ( 'meta' , Config :: getInstance ( ) -> get ( 'Eureka\Meta' ) ) ; return $ layout ; }
Get Main layout template

@param  TemplateInterface $template
@return Template
Get Main layout template