src/View.php
public function getEvents()
    {
        if (! $this->events) {
            $services = $this->getServices();
            $events   = $services->get('Events');
            $this->setEvents($events);
        }

        return $this->events;
    }
public function getEvents()
    {
        if (! $this->events) {
            $services = $this->getServices();
            $events   = $services->get('Events');
            $this->setEvents($events);
        }

        return $this->events;
    }
public function getEvents ( ) { if ( ! $ this -> events ) { $ services = $ this -> getServices ( ) ; $ events = $ services -> get ( 'Events' ) ; $ this -> setEvents ( $ events ) ; } return $ this -> events ; }
Gets the events.

@return \Es\Events\EventsInterface The events
Gets the events .