public function Request::href in RESTful 7.2
Gets the fully qualified URL with the query params.
Return value
string The URL.
Overrides RequestInterface::href
File
- src/
Http/ Request.php, line 428 - Contains \Drupal\restful\Http\Request
Class
- Request
- Deals with everything coming from the consumer.
Namespace
Drupal\restful\HttpCode
public function href() {
return url($this->path, array(
'absolute' => TRUE,
'query' => $this->query,
));
}