|
@@ 479-483 (lines=5) @@
|
| 476 |
|
StaticValidator::execute($templateName, 'TemplateName'); |
| 477 |
|
} |
| 478 |
|
|
| 479 |
|
if (null !== $templateFilename) { |
| 480 |
|
StaticValidator::execute($templateFilename, 'TemplateExtension'); |
| 481 |
|
StaticValidator::execute($templateFilename, 'FileExists'); |
| 482 |
|
$templateFilename = realpath($templateFilename); |
| 483 |
|
} |
| 484 |
|
|
| 485 |
|
if (null !== $append) { |
| 486 |
|
$append = StaticFilter::execute($append, 'BooleanToString'); |
|
@@ 555-559 (lines=5) @@
|
| 552 |
|
StaticValidator::execute($templateName, 'TemplateName'); |
| 553 |
|
} |
| 554 |
|
|
| 555 |
|
if (null !== $templateFilename) { |
| 556 |
|
StaticValidator::execute($templateFilename, 'TemplateExtension'); |
| 557 |
|
StaticValidator::execute($templateFilename, 'FileExists'); |
| 558 |
|
$templateFilename = realpath($templateFilename); |
| 559 |
|
} |
| 560 |
|
|
| 561 |
|
StaticValidator::execute($mergeSettings, 'TypeArray'); |
| 562 |
|
|