interface InitialMatcherInterface

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

Hierarchy

Expanded class hierarchy of InitialMatcherInterface

All classes that implement InitialMatcherInterface

1 file declares its use of InitialMatcherInterface
MockPathMatcher.php in drupal/core/modules/system/lib/Drupal/system/Tests/Routing/MockPathMatcher.php

File

drupal/core/lib/Drupal/Core/Routing/InitialMatcherInterface.php, line 15
Definition of Drupal\Core\Routing\InitialMatcherInterface.

Namespace

Drupal\Core\Routing
View source
interface InitialMatcherInterface {

  /**
   * Matches a request against multiple routes.
   *
   * @param \Symfony\Component\HttpFoundation\Request $request
   *   A Request object against which to match.
   *
   * @return \Symfony\Component\Routing\RouteCollection
   *   A RouteCollection of matched routes.
   */
  public function matchRequestPartial(Request $request);

}

Members

Namesort descending Modifiers Type Description Overrides
InitialMatcherInterface::matchRequestPartial public function Matches a request against multiple routes. 2