createTemplate() public method

public createTemplate ( ) : Nette\Templating\FileTemplate
return Nette\Templating\FileTemplate
 /**
  * @inheritdoc
  */
 public function createTemplate($class = NULL)
 {
     $template = parent::createTemplate($class);
     if ($this->templateFileName) {
         $template->setFile($this->templateFileName);
     }
     return $template;
 }