@@ 380-384 (lines=5) @@ | ||
377 | StaticValidator::execute($templateName, 'TemplateName'); |
|
378 | } |
|
379 | ||
380 | if (null !== $templateFilename) { |
|
381 | StaticValidator::execute($templateFilename, 'TemplateExtension'); |
|
382 | StaticValidator::execute($templateFilename, 'FileExists'); |
|
383 | $templateFilename = realpath($templateFilename); |
|
384 | } |
|
385 | ||
386 | if (null !== $append) { |
|
387 | $append = StaticFilter::execute($append, 'BooleanToString'); |
|
@@ 458-462 (lines=5) @@ | ||
455 | StaticValidator::execute($templateName, 'TemplateName'); |
|
456 | } |
|
457 | ||
458 | if (null !== $templateFilename) { |
|
459 | StaticValidator::execute($templateFilename, 'TemplateExtension'); |
|
460 | StaticValidator::execute($templateFilename, 'FileExists'); |
|
461 | $templateFilename = realpath($templateFilename); |
|
462 | } |
|
463 | ||
464 | StaticValidator::execute($mergeSettings, 'TypeArray'); |
|
465 |