Esempio n. 1
0
 /**
  * @param string $templatePath
  *
  * @api
  * @return $this
  */
 public function addTemplatePath($templatePath)
 {
     $this->templateEngine->addPath($templatePath);
     return $this;
 }
Esempio n. 2
0
 function it_allows_template_over_loading(TemplateEngine $templateEngine)
 {
     $templateEngine->addPath(self::TEMPLATE_PATH)->shouldBeCalled();
     $this->addTemplatePath(self::TEMPLATE_PATH);
 }