Example #1
0
 public function onTemplateRedirect()
 {
     if ($this->templating instanceof InjectableTemplatingInterface) {
         $this->templating->injectGlobals();
     }
 }
Example #2
0
 /**
  * @return string
  */
 public function js()
 {
     return $this->templating->js($this->buildTemplateParams());
 }