public function PartialMatcherInterface::matchRequestPartial

Matches a request against multiple routes.

Parameters

\Symfony\Component\HttpFoundation\Request $request: A Request object against which to match.

Return value

\Symfony\Component\Routing\RouteCollection A RouteCollection of matched routes.

2 methods override PartialMatcherInterface::matchRequestPartial()
HttpMethodMatcher::matchRequestPartial in drupal/core/lib/Drupal/Core/Routing/HttpMethodMatcher.php
Matches a request against multiple routes.
MimeTypeMatcher::matchRequestPartial in drupal/core/lib/Drupal/Core/Routing/MimeTypeMatcher.php
Matches a request against multiple routes.

File

drupal/core/lib/Drupal/Core/Routing/PartialMatcherInterface.php, line 38
Definition of Drupal\Core\Routing\PathMatcherInterface.

Class

PartialMatcherInterface
A PartialMatcher works like a UrlMatcher, but will return multiple candidate routes.

Namespace

Drupal\Core\Routing

Code

public function matchRequestPartial(Request $request);