/** * @return App\Presenters\HomepagePresenter */ public function createServiceApplication__4() { $service = new App\Presenters\HomepagePresenter(); $service->injectPrimary($this, $this->getService('application.presenterFactory'), $this->getService('routing.router'), $this->getService('http.request'), $this->getService('http.response'), $this->getService('session.session'), $this->getService('security.user'), $this->getService('latte.templateFactory')); $service->injectBaseModels($this->getService('tasksModel'), $this->getService('showModel'), $this->getService('createModel')); $service->invalidLinkMode = 1; return $service; }