protected function _createApplication() { $application = new WindWebApplication($this->getRequest(), $this->getFactory()); $application->setDelayAttributes(array('dispatcher' => array('ref' => 'dispatcher'), 'handlerAdapter' => array('ref' => 'router'))); return $application; }