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/routing/Matcher/RequestMatcherInterface.php \Symfony\Component\Routing\Matcher\RequestMatcherInterface

RequestMatcherInterface is an interface for strategies to match a Request.

@author Fabien Potencier <fabien@symfony.com>

Hierarchy

  • interface \Symfony\Component\HttpFoundation\RequestMatcherInterface

Expanded class hierarchy of RequestMatcherInterface

All classes that implement RequestMatcherInterface

12 files declare their use of RequestMatcherInterface
AttributesRequestMatcher.php in vendor/symfony/http-foundation/RequestMatcher/AttributesRequestMatcher.php
ExpressionRequestMatcher.php in vendor/symfony/http-foundation/RequestMatcher/ExpressionRequestMatcher.php
HeaderRequestMatcher.php in vendor/symfony/http-foundation/RequestMatcher/HeaderRequestMatcher.php
HostRequestMatcher.php in vendor/symfony/http-foundation/RequestMatcher/HostRequestMatcher.php
IpsRequestMatcher.php in vendor/symfony/http-foundation/RequestMatcher/IpsRequestMatcher.php

... See full list

File

vendor/symfony/http-foundation/RequestMatcherInterface.php, line 19

Namespace

Symfony\Component\HttpFoundation
View source
interface RequestMatcherInterface {
    
    /**
     * Decides whether the rule(s) implemented by the strategy matches the supplied request.
     */
    public function matches(Request $request) : bool;

}

Members

Title Sort descending Modifiers Object type Summary Overrides
RequestMatcherInterface::matches public function Decides whether the rule(s) implemented by the strategy matches the supplied request. 12

API Navigation

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