addExtension()
addExtension(string $extensionClassName)
Add an extension to the Phug facade (will be available in the current renderer instance and next static calls).
Throws an exception if the extension is not a valid class name.
Parameters
string |
$extensionClassName |
|
Throws
- \Phug\PhugException