src/Plugin/Layout.php
public function setTemplate($template)
    {
        $layout = $this->getViewModel();
        $layout->setTemplate((string) $template);

        return $this;
    }
public function setTemplate($template)
    {
        $layout = $this->getViewModel();
        $layout->setTemplate((string) $template);

        return $this;
    }
public function setTemplate ( $ template ) { $ layout = $ this -> getViewModel ( ) ; $ layout -> setTemplate ( ( string ) $ template ) ; return $ this ; }
Sets the layout template.

@param string $template The template name

@return self
Sets the layout template .