@@ -144,6 +144,11 @@ discard block |
||
| 144 | 144 | return $this->helpersLoader; |
| 145 | 145 | } |
| 146 | 146 | |
| 147 | + /** |
|
| 148 | + * @param string $testTemplate |
|
| 149 | + * @param string[] $paths |
|
| 150 | + * @param string $extension |
|
| 151 | + */ |
|
| 147 | 152 | private static function testTemplateFile($testTemplate, $paths, $extension) { |
| 148 | 153 | $templateFile = ''; |
| 149 | 154 | foreach ($paths as $path) { |
@@ -156,6 +161,10 @@ discard block |
||
| 156 | 161 | return $templateFile; |
| 157 | 162 | } |
| 158 | 163 | |
| 164 | + /** |
|
| 165 | + * @param string $testTemplate |
|
| 166 | + * @param string[] $paths |
|
| 167 | + */ |
|
| 159 | 168 | private static function testNoEngineTemplateFile($testTemplate, $paths) { |
| 160 | 169 | $templateFile = ''; |
| 161 | 170 | foreach ($paths as $path) { |
@@ -172,6 +181,9 @@ discard block |
||
| 172 | 181 | return $templateFile; |
| 173 | 182 | } |
| 174 | 183 | |
| 184 | + /** |
|
| 185 | + * @param string $template |
|
| 186 | + */ |
|
| 175 | 187 | private static function searchTemplateDirectory($template, $ignoreEngine = false) { |
| 176 | 188 | $templateFile = ''; |
| 177 | 189 | $paths = self::getPath(); |