/** * @param int|null $id * @param Request $request * * @return RedirectResponse|Response */ public function formAction($id, Request $request) { if (is_null($id)) { throw new RouteNotFoundException(); } return parent::formAction($id, $request); }
/** * {@inheritdoc} */ public function formAction($id, Request $request, $menuId = null) { $this->menuId = $menuId; return parent::formAction($id, $request); }
/** * @param int|null $id * @param Request $request * @param string $type * * @return RedirectResponse|Response */ public function formAction($id, Request $request, $type = null) { $this->type = $type; return parent::formAction($id, $request); }