public function RequestMatcher::matchHost

Adds a check for the URL host name.

Parameters

string $regexp A Regexp:

File

drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/RequestMatcher.php, line 64

Class

RequestMatcher
RequestMatcher compares a pre-defined set of checks against a Request instance.

Namespace

Symfony\Component\HttpFoundation

Code

public function matchHost($regexp) {
  $this->host = $regexp;
}