\Phug\PartialPluginEnablerTrait

Summary

Methods
Properties
Constants
enable()
disable()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
activateOnRenderer()
No private properties found
N/A

Methods

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

disable()

disable() 

Globally disable a plugin as both an extension and a module.

Throws

\Phug\PhugException

activateOnRenderer()

activateOnRenderer(\Phug\Renderer  $renderer) 

Parameters

\Phug\Renderer $renderer