public prepareRedirectResponse ( string $url, integer $status = 302, array $headers = [] ) : |
||
$url | string | URL to redirect to |
$status | integer | The status code (302 by default) |
$headers | array | An array of response headers (Location is always set to the given URL) |
return |