original_string: protected function redirectToRoute(string $route, $parameters = [], int $status = 302): RedirectResponse
      {
          return $this->redirect($this->generateUrl($route, $parameters), $status);
      }
code: protected function redirectToRoute(string $route, $parameters = [], int $status = 302): RedirectResponse
      {
          return $this->redirect($this->generateUrl($route, $parameters), $status);
      }
code_tokens: protected function redirectToRoute ( string $ route , $ parameters = [ ] , int $ status = 302 ) : RedirectResponse { return $ this -> redirect ( $ this -> generateUrl ( $ route , $ parameters ) , $ status ) ; }
docstring: Returns a RedirectResponse to the given route with the given parameters.
  Overwrites Controller-trait to allow parameters as object as well.
docstring_tokens: Returns a RedirectResponse to the given route with the given parameters . Overwrites Controller - trait to allow parameters as object as well .