TemplateFile::setThrowExceptions()

Call this with boolean false to disable exceptions when file doesn’t exist

Usage

$templateFile->setThrowExceptions(bool $throwExceptions);

Arguments

NameType(s)Description
$throwExceptionsbool

TemplateFile methods and properties

API reference based on ProcessWire core version 3.0.252