TemplateFile::setThrowExceptions()
Call this with boolean false to disable exceptions when file doesn’t exist
Usage
$templateFile->setThrowExceptions(bool $throwExceptions);Arguments
| Name | Type(s) | Description |
|---|---|---|
$throwExceptions | bool |
TemplateFile methods and properties
API reference based on ProcessWire core version 3.0.253