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