Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
26 | public function __invoke( |
||
27 | ContainerInterface $container, |
||
28 | ?string $requestedName = null, |
||
29 | ?array $options = null |
||
30 | ): ApiApplyController { |
||
31 | $repositories = $container->get('repositories'); |
||
32 | return new ApiApplyController( |
||
33 | $repositories->get('Applications'), |
||
34 | $repositories->get('Jobs'), |
||
35 | $container->get('forms')->get('Applications/Apply'), |
||
36 | $container->get('HydratorManager')->get(ApiApplicationHydrator::class) |
||
37 | ); |
||
40 |