1 | <?php |
||
9 | class TemplateRegistry |
||
10 | { |
||
11 | private static $rootTemplateDir = null; |
||
12 | |||
13 | /** |
||
14 | * @param string $templateName |
||
15 | * |
||
16 | * @return string the template path |
||
17 | * |
||
18 | * @throws \Exception if template not found |
||
19 | */ |
||
20 | public function getTemplatePath($templateName) |
||
34 | |||
35 | public static function getRootTemplateDir() |
||
49 | } |
||
50 |