You are here

public function RequestMatcher::matchPath in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-foundation/RequestMatcher.php \Symfony\Component\HttpFoundation\RequestMatcher::matchPath()

Adds a check for the URL path info.

Parameters

string $regexp A Regexp:

1 call to RequestMatcher::matchPath()
RequestMatcher::__construct in vendor/symfony/http-foundation/RequestMatcher.php

File

vendor/symfony/http-foundation/RequestMatcher.php, line 97

Class

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

Namespace

Symfony\Component\HttpFoundation

Code

public function matchPath($regexp) {
  $this->path = $regexp;
}