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