public function RequestMatcher::__construct

File

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

Class

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

Namespace

Symfony\Component\HttpFoundation

Code

public function __construct($path = null, $host = null, $methods = null, $ip = null, array $attributes = array()) {
  $this->path = $path;
  $this->host = $host;
  $this->methods = $methods;
  $this->ip = $ip;
  $this->attributes = $attributes;
}