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