/** * Set the module event * * @param ModuleEvent $event * @return ModuleManager */ public function setEvent(ModuleEvent $event) { $event->setTarget($this); $this->event = $event; return $this; }