public function setTemplate(string $template): self
    {
        $this->template = $template;
        $this->logger->debug("Template file set to loader.", ["template" => $this->template]);
        return $this;
    }
public function setTemplate(string $template): self
    {
        $this->template = $template;
        $this->logger->debug("Template file set to loader.", ["template" => $this->template]);
        return $this;
    }
public function setTemplate ( string $ template ) : self { $ this -> template = $ template ; $ this -> logger -> debug ( "Template file set to loader." , [ "template" => $ this -> template ] ) ; return $ this ; }
Set the template

Sets the template filename.

@param string $template Name of the template file
@return self
Set the template