$Event
- is system object, that handles events subscribing and dispatching, instance can be obtained in such way:
<?php
$Event = \cs\Event::instance();
$Event
object has next public methods:
- on()
- off()
- once()
- fire()
Subscribing for event. More details, and example of use
Unsubscribing from event. More details, and example of use
Subscribing for event for single execution. More details, and example of use
Dispatching of event. More details, and example of use