interface RequestMatcherInterface

Same name in this branch

RequestMatcherInterface is an interface for strategies to match a Request.

@author Fabien Potencier <fabien@symfony.com>

@api

Hierarchy

Expanded class hierarchy of RequestMatcherInterface

All classes that implement RequestMatcherInterface

1 file declares its use of RequestMatcherInterface
ProfilerListener.php in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/EventListener/ProfilerListener.php

File

drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/RequestMatcherInterface.php, line 21

Namespace

Symfony\Component\HttpFoundation
View source
interface RequestMatcherInterface {

  /**
   * Decides whether the rule(s) implemented by the strategy matches the supplied request.
   *
   * @param Request $request The request to check for a match
   *
   * @return Boolean true if the request matches, false otherwise
   *
   * @api
   */
  public function matches(Request $request);

}

Members

Namesort descending Modifiers Type Description Overrides
RequestMatcherInterface::matches public function Decides whether the rule(s) implemented by the strategy matches the supplied request. 1