Method | Description | |
---|---|---|
attach ( |
Attaches an observer to the object | |
detach ( |
Detaches an observer from the object | |
trigger ( string $event, array $args = [] ) : array | Triggers an event in the attached observers |
public attach ( |
||
$observer | The observer to attach | |
return | FOF30\Event\Observable | Ourselves, for chaining |
public detach ( |
||
$observer | The observer to detach | |
return | FOF30\Event\Observable | Ourselves, for chaining |