$responder->redirect()
Shortcut to create a redirect response
Parameters
Name | Type | Default |
---|---|---|
$location | string |
null |
$code | int |
null |
Return type
This method modifies the existing $responder
object it is applied to and returns it again.