Redirector
class Redirector (View source)
Methods
void __construct(UrlGenerator $generator) Create a new Redirector instance. RedirectResponse home(int $status = 302) Create a new redirect response to the "home" route. RedirectResponse back(int $status = 302, array $headers = array()) Create a new redirect response to the previous location. RedirectResponse refresh(int $status = 302, array $headers = array()) Create a new redirect response to the current URI. RedirectRes