public function getEventManager(): EventManagerInterface
    {
        if (null === $this->events) {
            $this->setEventManager(new EventManager());
        }
        return $this->events;
    }
public function getEventManager(): EventManagerInterface
    {
        if (null === $this->events) {
            $this->setEventManager(new EventManager());
        }
        return $this->events;
    }
public function getEventManager ( ) : EventManagerInterface { if ( null === $ this -> events ) { $ this -> setEventManager ( new EventManager ( ) ) ; } return $ this -> events ; }
Returns the EventManager

@return EventManagerInterface
Returns the EventManager