1 | <?php |
||
18 | final class ControllerResolver implements ControllerResolverInterface |
||
19 | { |
||
20 | /** |
||
21 | * @var ControllerResolverInterface |
||
22 | */ |
||
23 | private $controllerResolver; |
||
24 | |||
25 | /** |
||
26 | * @var ContainerInterface |
||
27 | */ |
||
28 | private $container; |
||
29 | |||
30 | /** |
||
31 | * @var ControllerNameParser |
||
32 | */ |
||
33 | private $controllerNameParser; |
||
34 | |||
35 | /** |
||
36 | * @var string[] |
||
37 | */ |
||
38 | private $controllerClassMap; |
||
39 | |||
40 | 9 | public function __construct( |
|
49 | |||
50 | 7 | public function setControllerClassMap(array $controllerClassMap) |
|
54 | |||
55 | /** |
||
56 | * @return false|array|callable |
||
57 | */ |
||
58 | 8 | public function getController(Request $request) |
|
75 | |||
76 | /** |
||
77 | * {@inheritdoc} |
||
78 | */ |
||
79 | 1 | public function getArguments(Request $request, $controller) |
|
83 | |||
84 | /** |
||
85 | * @return object |
||
86 | */ |
||
87 | 2 | private function getControllerService(string $class) |
|
93 | |||
94 | /** |
||
95 | * @param object $controller |
||
96 | * |
||
97 | * @return object |
||
98 | */ |
||
99 | 2 | private function decorateControllerWithContainer($controller) |
|
107 | |||
108 | /** |
||
109 | * @return string[] |
||
110 | */ |
||
111 | 7 | private function splitControllerClassAndMethod(string $controllerName) : array |
|
123 | } |
||
124 |
This method has been deprecated. The supplier of the class has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the method will be removed from the class and what other method or class to use instead.