Ejemplo n.º 1
0
 public function urlTest()
 {
     return $this->templateEngine->render("url.twig", ['_trim' => true]);
 }
Ejemplo n.º 2
0
 public function __construct(EngineInterface $renderer, RuntimeProviderInterface $runtime)
 {
     $this->renderer = $renderer;
     $this->runtime = $runtime;
     $this->renderer->setViewPaths([$this->getTemplatesFolder()]);
 }