@@ 397-401 (lines=5) @@ | ||
394 | StaticValidator::execute($templateName, 'TemplateName'); |
|
395 | } |
|
396 | ||
397 | if (null !== $templateFilename) { |
|
398 | StaticValidator::execute($templateFilename, 'TemplateExtension'); |
|
399 | StaticValidator::execute($templateFilename, 'FileExists'); |
|
400 | $templateFilename = realpath($templateFilename); |
|
401 | } |
|
402 | ||
403 | $booleanToStringFilter = new BooleanToStringFilter(); |
|
404 | ||
@@ 485-489 (lines=5) @@ | ||
482 | StaticValidator::execute($templateName, 'TemplateName'); |
|
483 | } |
|
484 | ||
485 | if (null !== $templateFilename) { |
|
486 | StaticValidator::execute($templateFilename, 'TemplateExtension'); |
|
487 | StaticValidator::execute($templateFilename, 'FileExists'); |
|
488 | $templateFilename = realpath($templateFilename); |
|
489 | } |
|
490 | ||
491 | StaticValidator::execute($mergeSettings, 'TypeArray'); |
|
492 |