public function RequestContext::setHost in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/routing/RequestContext.php \Symfony\Component\Routing\RequestContext::setHost()
Sets the HTTP host.
Parameters
string $host The HTTP host:
Return value
RequestContext The current instance, implementing a fluent interface
2 calls to RequestContext::setHost()
- RequestContext::fromRequest in vendor/
symfony/ routing/ RequestContext.php - Updates the RequestContext information based on a HttpFoundation Request.
- RequestContext::__construct in vendor/
symfony/ routing/ RequestContext.php - Constructor.
File
- vendor/
symfony/ routing/ RequestContext.php, line 178
Class
- RequestContext
- Holds information about the current request.
Namespace
Symfony\Component\RoutingCode
public function setHost($host) {
$this->host = strtolower($host);
return $this;
}