Plugin
extends BaseObject
in package
implements
PluginInterface
Interfaces, Classes, Traits and Enums
Table of Contents
- $compiler : mixed
- __construct() : mixed
- Constructor, configure this object's options
- defineEvents() : array<string|int, mixed>
- Define new events
- init() : mixed
- Initialize plugin
Properties
$compiler
protected
mixed
$compiler
Methods
__construct()
Constructor, configure this object's options
public
__construct([array<string|int, mixed> $options = [] ]) : mixed
Parameters
- $options : array<string|int, mixed> = []
Return values
mixed —defineEvents()
Define new events
public
defineEvents() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —init()
Initialize plugin
public
init(Compiler $compiler) : mixed
Parameters
- $compiler : Compiler