8000
File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed
src/Symfony/Component/HttpKernel/Controller Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change
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
+
12
+ namespace Symfony \Component \HttpKernel \Controller ;
13
+
14
+ /**
15
+ * An ArgumentResolverInterface implementation resolves the arguments of
16
+ * controllers.
17
+ *
18
+ * @author Wouter J <wouter@wouterj.nl>
19
+ */
20
+ interface ArgumentResolverInterface
21
+ {
22
+ /**
23
+ * Checks if the current parameter can be resolved by this argument
24
+ * resolver.
25
+ *
26
+ * @param \ReflectionParameter $parameter
27
+ *
28
+ * @return Boolean
29
+ */
30
+ public function supports (\ReflectionParameter $ parameter );
31
+
32
+ /**
33
+ * Resolves the current parameter into an argument.
34
+ *
35
+ * @param \ReflectionParameter $parameter
36
+ *
37
+ * @return mixed The resolved argument
38
+ */
39
+ public function resolve (\ReflectionParameter $ parameter );
40
+ }
You can’t perform that action at this time.
0 commit comments