function Route::setHost
Same name in this branch
- 11.1.x vendor/symfony/routing/Attribute/Route.php \Symfony\Component\Routing\Attribute\Route::setHost()
Return value
$this
1 call to Route::setHost()
- Route::__construct in vendor/
symfony/ routing/ Route.php - Constructor.
File
-
vendor/
symfony/ routing/ Route.php, line 138
Class
- Route
- A Route describes a route and its parameters.
Namespace
Symfony\Component\RoutingCode
public function setHost(?string $pattern) : static {
$this->host = $this->extractInlineDefaultsAndRequirements((string) $pattern);
$this->compiled = null;
return $this;
}