You are here

public function Route::getHost in Zircon Profile 8

Same name in this branch
  1. 8 vendor/symfony/routing/Route.php \Symfony\Component\Routing\Route::getHost()
  2. 8 vendor/symfony/routing/Annotation/Route.php \Symfony\Component\Routing\Annotation\Route::getHost()
Same name and namespace in other branches
  1. 8.0 vendor/symfony/routing/Route.php \Symfony\Component\Routing\Route::getHost()

Returns the pattern for the host.

Return value

string The host pattern

File

vendor/symfony/routing/Route.php, line 207

Class

Route
A Route describes a route and its parameters.

Namespace

Symfony\Component\Routing

Code

public function getHost() {
  return $this->host;
}