Sets the HTTP host.
@api
Parameters
string $host The HTTP host:
File
- drupal/core/vendor/symfony/routing/Symfony/Component/Routing/RequestContext.php, line 160
Class
- RequestContext
- Holds information about the current request.
Namespace
Symfony\Component\Routing
Code
public function setHost($host) {
$this->host = $host;
}