|
@@ 137-141 (lines=5) @@
|
| 134 |
|
StaticValidator::execute($templateName, 'TemplateName'); |
| 135 |
|
} |
| 136 |
|
|
| 137 |
|
if (null !== $templateFilename) { |
| 138 |
|
StaticValidator::execute($templateFilename, 'TemplateExtension'); |
| 139 |
|
StaticValidator::execute($templateFilename, 'FileExists'); |
| 140 |
|
$templateFilename = realpath($templateFilename); |
| 141 |
|
} |
| 142 |
|
|
| 143 |
|
if (null !== $append) { |
| 144 |
|
$append = StaticFilter::execute($append, 'BooleanToString'); |
|
@@ 218-222 (lines=5) @@
|
| 215 |
|
StaticValidator::execute($templateName, 'TemplateName'); |
| 216 |
|
} |
| 217 |
|
|
| 218 |
|
if (null !== $templateFilename) { |
| 219 |
|
StaticValidator::execute($templateFilename, 'TemplateExtension'); |
| 220 |
|
StaticValidator::execute($templateFilename, 'FileExists'); |
| 221 |
|
$templateFilename = realpath($templateFilename); |
| 222 |
|
} |
| 223 |
|
|
| 224 |
|
StaticValidator::execute($mergeSettings, 'TypeArray'); |
| 225 |
|
|