Pheasant::events PHP Method

events() public method

Gets the system-wide events registry
public events ( ) : Events
return Events
    public function events()
    {
        if (!isset($this->_events)) {
            $this->_events = new \Pheasant\Events();
        }
        return $this->_events;
    }