/**
  * This method provides a handling of edit requests.
  *
  * @Route("/route/edit/{id}.{_format}",
  *        requirements = {"id" = "\d+", "_format" = "html"},
  *        defaults = {"id" = "0", "_format" = "html"},
  *        methods = {"GET", "POST"}
  * )
  *
  * @param Request  $request      Current request instance
  * @param string  $tpl          Name of alternative template (to be used instead of the default template).
  *
  * @return mixed Output.
  *
  * @throws AccessDeniedException Thrown if the user doesn't have required permissions.
  * @throws NotFoundHttpException Thrown by form handler if item to be edited isn't found.
  * @throws RuntimeException      Thrown if another critical error occurs (e.g. workflow actions not available).
  */
 public function editAction(Request $request)
 {
     return parent::editAction($request);
 }