class MockPathMatcher

Provides a mock path matcher.

Hierarchy

Expanded class hierarchy of MockPathMatcher

File

drupal/core/modules/system/lib/Drupal/system/Tests/Routing/MockPathMatcher.php, line 14

Namespace

Drupal\system\Tests\Routing
View source

Members

Namesort descending Modifiers Type Description Overrides
MockPathMatcher::$routes protected property Routes to be matched.
MockPathMatcher::matchRequestPartial public function Matches a request against multiple routes. Overrides InitialMatcherInterface::matchRequestPartial
MockPathMatcher::__construct public function Construct the matcher given the route collection.