RedirectService
class RedirectService (View source)
Sends a Location header for the given URL, or a prepared response, and ends the request. The halt unwinds to the router the way the former exit ended the process, which keeps the redirect out of the way of anything that follows and leaves it observable to a test.
Methods
void
redirectTo(string $url)
No description
void
send(Response $response)
No description
Details
void
redirectTo(string $url)
No description
void
send(Response $response)
No description