final public function getEventsManager(): EventsManager
    {
        if ($this->eventsManager === null) {
            $this->eventsManager = new EventsManager();
        }

        return $this->eventsManager;
    }
final public function getEventsManager(): EventsManager
    {
        if ($this->eventsManager === null) {
            $this->eventsManager = new EventsManager();
        }

        return $this->eventsManager;
    }
{@inheritdoc}

@return EventsManager