_repository = $repository; } public function parseRequest($manager, $request) { $uri = ltrim(LanguageHelper::processLangInUrl($request->pathInfo), '/'); if ($uri == $this->prefix) { $id = Yii::$app->request->get('id'); $form = $this->_repository->get($id); if ($form) { return [$uri, ['id' => $id]]; } } return false; } public function createUrl($manager, $route, $params) { return false; } }