|
0
|
1 |
<?php |
|
|
2 |
|
|
|
3 |
namespace Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter; |
|
|
4 |
|
|
|
5 |
use Sensio\Bundle\FrameworkExtraBundle\Configuration\ConfigurationInterface; |
|
|
6 |
use Symfony\Component\HttpFoundation\Request; |
|
|
7 |
|
|
|
8 |
/* |
|
|
9 |
* This file is part of the Symfony framework. |
|
|
10 |
* |
|
|
11 |
* (c) Fabien Potencier <fabien@symfony.com> |
|
|
12 |
* |
|
|
13 |
* This source file is subject to the MIT license that is bundled |
|
|
14 |
* with this source code in the file LICENSE. |
|
|
15 |
*/ |
|
|
16 |
|
|
|
17 |
/** |
|
|
18 |
* |
|
|
19 |
* |
|
|
20 |
* @author Fabien Potencier <fabien@symfony.com> |
|
|
21 |
*/ |
|
|
22 |
interface ParamConverterInterface |
|
|
23 |
{ |
|
|
24 |
function apply(Request $request, ConfigurationInterface $configuration); |
|
|
25 |
|
|
|
26 |
function supports(ConfigurationInterface $configuration); |
|
|
27 |
} |