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