matomo
/
app
/
vendor
/
prefixed
/
symfony
/
http-kernel
/
Controller
/
ArgumentValueResolverInterface.php
ArgumentResolver
1 year ago
ArgumentResolver.php
1 year ago
ArgumentResolverInterface.php
2 years ago
ArgumentValueResolverInterface.php
2 years ago
ContainerControllerResolver.php
2 years ago
ControllerReference.php
2 years ago
ControllerResolver.php
1 year ago
ControllerResolverInterface.php
2 years ago
ErrorController.php
1 year ago
TraceableArgumentResolver.php
2 years ago
TraceableControllerResolver.php
2 years ago
ArgumentValueResolverInterface.php
35 lines
| 1 | <?php |
| 2 | |
| 3 | /* |
| 4 | * This file is part of the Symfony package. |
| 5 | * |
| 6 | * (c) Fabien Potencier <fabien@symfony.com> |
| 7 | * |
| 8 | * For the full copyright and license information, please view the LICENSE |
| 9 | * file that was distributed with this source code. |
| 10 | */ |
| 11 | namespace Matomo\Dependencies\Symfony\Component\HttpKernel\Controller; |
| 12 | |
| 13 | use Matomo\Dependencies\Symfony\Component\HttpFoundation\Request; |
| 14 | use Matomo\Dependencies\Symfony\Component\HttpKernel\ControllerMetadata\ArgumentMetadata; |
| 15 | /** |
| 16 | * Responsible for resolving the value of an argument based on its metadata. |
| 17 | * |
| 18 | * @author Iltar van der Berg <kjarli@gmail.com> |
| 19 | */ |
| 20 | interface ArgumentValueResolverInterface |
| 21 | { |
| 22 | /** |
| 23 | * Whether this resolver can resolve the value for the given ArgumentMetadata. |
| 24 | * |
| 25 | * @return bool |
| 26 | */ |
| 27 | public function supports(Request $request, ArgumentMetadata $argument); |
| 28 | /** |
| 29 | * Returns the possible value(s). |
| 30 | * |
| 31 | * @return iterable |
| 32 | */ |
| 33 | public function resolve(Request $request, ArgumentMetadata $argument); |
| 34 | } |
| 35 |