Symfony\Component\HttpFoundation\RedirectResponse::setTargetUrl
Sets the redirect target of this response.
Signature
public function setTargetUrl(string
$url )
Parameters
$url
— string- The URL to redirect to
Returns
- RedirectResponse
- The current response.