public function attachEvent($event, $handler) { $this->eventsManager->attachEvent($event, $handler); return $this; }