4 * This file is part of the Symfony package.
6 * (c) Fabien Potencier <fabien@symfony.com>
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
12 namespace Symfony\Component\HttpFoundation;
15 * RequestMatcherInterface is an interface for strategies to match a Request.
17 * @author Fabien Potencier <fabien@symfony.com>
19 interface RequestMatcherInterface
22 * Decides whether the rule(s) implemented by the strategy matches the supplied request.
24 * @return bool true if the request matches, false otherwise
26 public function matches(Request $request);