Beispiel #1
0
 /**
  * Descendant can override this method to customize template compile-time filters.
  *
  * @param  Nette\Templating\Template
  * @return void
  */
 public function templatePrepareFilters($template)
 {
     if ($this->templateConfigurator !== NULL) {
         $this->templateConfigurator->prepareFilters($template);
     } else {
         $template->registerFilter(new \Nette\Latte\Engine());
     }
 }