Пример #1
0
 public function template($__templateName, $__templateParameters = [])
 {
     extract($__templateParameters, EXTR_PREFIX_SAME, '__');
     //echo "$this->templatePath\n";
     include Path::combine($this->templatePath, $__templateName . '.php');
 }
Пример #2
0
 public function combine(...$args)
 {
     $params = array_merge([$this->path], $args);
     return Path::combine(...$params);
 }