Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. RequestMatcherInterface.php

interface RequestMatcherInterface

Same name in this branch
  1. 11.1.x vendor/symfony/http-foundation/RequestMatcherInterface.php \Symfony\Component\HttpFoundation\RequestMatcherInterface

RequestMatcherInterface is the interface that all request matcher classes must implement.

@author Fabien Potencier <fabien@symfony.com>

Hierarchy

  • interface \Symfony\Component\Routing\Matcher\RequestMatcherInterface

Expanded class hierarchy of RequestMatcherInterface

All classes that implement RequestMatcherInterface

6 files declare their use of RequestMatcherInterface
AccessAwareRouterInterface.php in core/lib/Drupal/Core/Routing/AccessAwareRouterInterface.php
ConfigTranslationController.php in core/modules/config_translation/src/Controller/ConfigTranslationController.php
PathBasedBreadcrumbBuilder.php in core/modules/system/src/PathBasedBreadcrumbBuilder.php
Router.php in vendor/symfony/routing/Router.php
Router.php in core/lib/Drupal/Core/Routing/Router.php

... See full list

File

vendor/symfony/routing/Matcher/RequestMatcherInterface.php, line 24

Namespace

Symfony\Component\Routing\Matcher
View source
interface RequestMatcherInterface {
    
    /**
     * Tries to match a request with a set of routes.
     *
     * If the matcher cannot find information, it must throw one of the exceptions documented
     * below.
     *
     * @throws NoConfigurationException  If no routing configuration could be found
     * @throws ResourceNotFoundException If no matching resource could be found
     * @throws MethodNotAllowedException If a matching resource was found but the request method is not allowed
     */
    public function matchRequest(Request $request) : array;

}

Members

Title Sort descending Modifiers Object type Summary Overrides
RequestMatcherInterface::matchRequest public function Tries to match a request with a set of routes. 3

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal