Exemplo n.º 1
0
 /**
  * Add a path for template
  *
  * @param string $path
  * @param string $namespace
  */
 public function addPath($path, $namespace = null)
 {
     $this->resolver->addPath($path);
     // Normalize the path to be compliant with the TemplatePathStack
     $this->paths[TemplatePathStack::normalizePath($path)] = $namespace;
 }