@@ 312-320 (lines=9) @@ | ||
309 | * @param $cleanedLocation |
|
310 | * @param $target |
|
311 | */ |
|
312 | public function renderConfig($location, $cleanedLocation, $target) |
|
313 | { |
|
314 | // render templates |
|
315 | $finder = new Finder(); |
|
316 | $finder->files()->in($location)->name("*.conf.twig"); |
|
317 | foreach ($finder as $config) { |
|
318 | $this->renderSingleConfig($cleanedLocation, $target, $config); |
|
319 | } |
|
320 | } |
|
321 | ||
322 | /** |
|
323 | * @param $location |
|
@@ 327-335 (lines=9) @@ | ||
324 | * @param $cleanedLocation |
|
325 | * @param $target |
|
326 | */ |
|
327 | public function renderDistConfig($location, $cleanedLocation, $target) |
|
328 | { |
|
329 | // render templates |
|
330 | $finder = new Finder(); |
|
331 | $finder->files()->in($location)->name("*.conf.twig"); |
|
332 | foreach ($finder as $config) { |
|
333 | $this->renderSingleDistConfig($cleanedLocation, $target, $config); |
|
334 | } |
|
335 | } |
|
336 | } |
|
337 |