public function Response::getRedirectUrl in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/jcalderonzumba/gastonjs/src/NetworkTraffic/Response.php \Zumba\GastonJS\NetworkTraffic\Response::getRedirectUrl()
Get redirect url if response is a redirect
Return value
string
File
- vendor/
jcalderonzumba/ gastonjs/ src/ NetworkTraffic/ Response.php, line 55
Class
- Response
- Class Response @package Zumba\GastonJS\NetworkTraffic
Namespace
Zumba\GastonJS\NetworkTrafficCode
public function getRedirectUrl() {
if (isset($this->data['redirectUrl']) && !empty($this->data['redirectUrl'])) {
return $this->data['redirectUrl'];
}
return null;
}