@@ 386-390 (lines=5) @@ | ||
383 | StaticValidator::execute($templateName, 'TemplateName'); |
|
384 | } |
|
385 | ||
386 | if (null !== $templateFilename) { |
|
387 | StaticValidator::execute($templateFilename, 'TemplateExtension'); |
|
388 | StaticValidator::execute($templateFilename, 'FileExists'); |
|
389 | $templateFilename = realpath($templateFilename); |
|
390 | } |
|
391 | ||
392 | if (null !== $append) { |
|
393 | $filter = new BooleanToStringFilter(); |
|
@@ 467-471 (lines=5) @@ | ||
464 | StaticValidator::execute($templateName, 'TemplateName'); |
|
465 | } |
|
466 | ||
467 | if (null !== $templateFilename) { |
|
468 | StaticValidator::execute($templateFilename, 'TemplateExtension'); |
|
469 | StaticValidator::execute($templateFilename, 'FileExists'); |
|
470 | $templateFilename = realpath($templateFilename); |
|
471 | } |
|
472 | ||
473 | StaticValidator::execute($mergeSettings, 'TypeArray'); |
|
474 |