This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Component/HttpFoundation/RequestMatcherInterface.php

34 lines
784 B
PHP
Raw Normal View History

2010-09-01 12:56:06 +01:00
<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
2010-09-01 12:56:06 +01:00
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\HttpFoundation;
2010-09-01 12:56:06 +01:00
/**
* RequestMatcherInterface is an interface for strategies to match a Request.
*
* @author Fabien Potencier <fabien@symfony.com>
2011-07-20 09:06:02 +01:00
*
* @api
2010-09-01 12:56:06 +01:00
*/
interface RequestMatcherInterface
{
/**
* Decides whether the rule(s) implemented by the strategy matches the supplied request.
*
2012-05-15 21:19:31 +01:00
* @param Request $request The request to check for a match
2010-09-01 12:56:06 +01:00
*
* @return Boolean true if the request matches, false otherwise
2011-07-20 09:06:02 +01:00
*
* @api
2010-09-01 12:56:06 +01:00
*/
function matches(Request $request);
}