public function events()
    {
        if (!isset($this->_events)) {
            $this->_events = new \Pheasant\Events();
        }

        return $this->_events;
    }
public function events()
    {
        if (!isset($this->_events)) {
            $this->_events = new \Pheasant\Events();
        }

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