@@ 382-386 (lines=5) @@ | ||
379 | StaticValidator::execute($templateName, 'TemplateName'); |
|
380 | } |
|
381 | ||
382 | if (null !== $templateFilename) { |
|
383 | StaticValidator::execute($templateFilename, 'TemplateExtension'); |
|
384 | StaticValidator::execute($templateFilename, 'FileExists'); |
|
385 | $templateFilename = realpath($templateFilename); |
|
386 | } |
|
387 | ||
388 | if (null !== $append) { |
|
389 | $append = StaticFilter::execute($append, 'BooleanToString'); |
|
@@ 462-466 (lines=5) @@ | ||
459 | StaticValidator::execute($templateName, 'TemplateName'); |
|
460 | } |
|
461 | ||
462 | if (null !== $templateFilename) { |
|
463 | StaticValidator::execute($templateFilename, 'TemplateExtension'); |
|
464 | StaticValidator::execute($templateFilename, 'FileExists'); |
|
465 | $templateFilename = realpath($templateFilename); |
|
466 | } |
|
467 | ||
468 | StaticValidator::execute($mergeSettings, 'TypeArray'); |
|
469 |