Symfony\Bundle\FrameworkBundle\Controller\RedirectController
Redirects a request to another URL.
- Author: Fabien Potencier <fabien@symfony.com>
Synopsis
class RedirectController
extends ContainerAware
{
- // Inherited members from ContainerAware
- protected ContainerInterface $container;
- // methods
- public Response redirectAction()
- public Response urlRedirectAction()
- // Inherited methods from ContainerAware
- public void setContainer()
Hierarchy
Members
protected
Methods
public
- redirectAction() — Redirects to another route with the given name.
- urlRedirectAction() — Redirects to a URL.
Inherited from Symfony\Component\DependencyInjection\ContainerAware
public
- setContainer() — Sets the Container associated with this Controller.