Total Complexity | 3 |
Total Lines | 37 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
14 | class TestController |
||
15 | { |
||
16 | /** |
||
17 | * @Service("translator") |
||
18 | * |
||
19 | * @param Services $services |
||
20 | * |
||
21 | * @return Response |
||
22 | */ |
||
23 | public function firstAction(Services $services) |
||
24 | { |
||
25 | $services->getTwig(); |
||
|
|||
26 | $services->getTranslator(); |
||
27 | |||
28 | return Response::create(); |
||
29 | } |
||
30 | |||
31 | /** |
||
32 | * @Service({"ff"="form.factory", "url_generator"="router", "translator"}) |
||
33 | * |
||
34 | * @param Services $services |
||
35 | * |
||
36 | * @return Response |
||
37 | */ |
||
38 | public function secondAction(Services $services) |
||
46 | } |
||
47 | |||
48 | public function thirdAction(Services $services) |
||
53 |