enable()
enable(\Phug\Renderer|null $renderer = null)
Enable a plugin as both an extension and a module either globally or on a given renderer.
Parameters
\Phug\Renderer|null | $renderer |
Throws
- \Phug\PhugException
enable(\Phug\Renderer|null $renderer = null)
Enable a plugin as both an extension and a module either globally or on a given renderer.
\Phug\Renderer|null | $renderer |
activateOnRenderer(\Phug\Renderer $renderer)
\Phug\Renderer | $renderer |