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

Breadcrumb

  1. Drupal Core 11.1.x

RequestMatcherInterface.php

Same filename in this branch
  1. 11.1.x vendor/symfony/routing/Matcher/RequestMatcherInterface.php

Namespace

Symfony\Component\HttpFoundation

File

vendor/symfony/http-foundation/RequestMatcherInterface.php

View source
<?php


/*
 * This file is part of the Symfony package.
 *
 * (c) Fabien Potencier <fabien@symfony.com>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */
namespace Symfony\Component\HttpFoundation;


/**
 * RequestMatcherInterface is an interface for strategies to match a Request.
 *
 * @author Fabien Potencier <fabien@symfony.com>
 */
interface RequestMatcherInterface {
    
    /**
     * Decides whether the rule(s) implemented by the strategy matches the supplied request.
     */
    public function matches(Request $request) : bool;

}

Interfaces

Title Deprecated Summary
RequestMatcherInterface RequestMatcherInterface is an interface for strategies to match a Request.

API Navigation

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