| 1 | <?php |
||
| 13 | class ConfigDAO |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @param string $templatePath |
||
| 17 | * @param string $key |
||
| 18 | * @throws \InvalidArgumentException |
||
| 19 | * @return array |
||
| 20 | */ |
||
| 21 | public function findConfig($templatePath, $key = null): array |
||
| 43 | |||
| 44 | /** |
||
| 45 | * @param string $templatePath |
||
| 46 | * @return string |
||
| 47 | */ |
||
| 48 | private function getConfigPath($templatePath): string |
||
| 52 | |||
| 53 | /** |
||
| 54 | * @param string $templatePath |
||
| 55 | * @return array |
||
| 56 | */ |
||
| 57 | private function loadConfig($templatePath): array |
||
| 61 | } |
||
| 62 |