public getCompleteUrl ( ) : string | ||
return | string |
public function getCompleteUrl()
{
if (isset($this->data['links']) && is_array($this->data['links'])) {
foreach ($this->data['links'] as $key => $value) {
if ($value['rel'] == 'execute') {
return $value['href'];
}
}
}
return null;
}