public function setApplication(ApplicationInterface $application) { $this->setParam('application', $application); $this->application = $application; return $this; }
public function bootstrap() { $event = new MvcEvent(); $event->setApplication($this); $event->setTarget($this); $this->getEventManager()->trigger(MvcEvent::EVENT_BOOTSTRAP, $event); }