You are here

interface RequestMatcherInterface in Zircon Profile 8

Same name in this branch
  1. 8 vendor/symfony/http-foundation/RequestMatcherInterface.php \Symfony\Component\HttpFoundation\RequestMatcherInterface
  2. 8 vendor/symfony/routing/Matcher/RequestMatcherInterface.php \Symfony\Component\Routing\Matcher\RequestMatcherInterface
Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-foundation/RequestMatcherInterface.php \Symfony\Component\HttpFoundation\RequestMatcherInterface

RequestMatcherInterface is an interface for strategies to match a Request.

@author Fabien Potencier <fabien@symfony.com>

Hierarchy

Expanded class hierarchy of RequestMatcherInterface

All classes that implement RequestMatcherInterface

1 file declares its use of RequestMatcherInterface
ProfilerListener.php in vendor/symfony/http-kernel/EventListener/ProfilerListener.php

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.
   *
   * @param Request $request The request to check for a match
   *
   * @return bool true if the request matches, false otherwise
   */
  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