RedirectResponse
class RedirectResponse extends Response (View source)
A collection of tools for the creation of responses
Methods
ResponseInterface
to(string $url, integer $status = 302)
Get a response redirecting to a specific url.
ResponseInterface
back(string $fallback = '', integer $status = 302)
Get a response redirecting back to the referrer or a fallback.
Details
at line 33
__construct(RequestInterface $request)
Constructor.
at line 45
ResponseInterface
to(string $url, integer $status = 302)
Get a response redirecting to a specific url.
at line 58
ResponseInterface
back(string $fallback = '', integer $status = 302)
Get a response redirecting back to the referrer or a fallback.