| Conditions | 1 |
| Paths | 1 |
| Total Lines | 6 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | public function __invoke(ContainerInterface $container): ApiContredanseProfileHandler |
||
| 13 | { |
||
| 14 | $userProvider = $container->get(\App\Security\ContredanseUserProvider::class); |
||
| 15 | $tokenService = $container->get(TokenManager::class); |
||
| 16 | |||
| 17 | return new ApiContredanseProfileHandler($tokenService, $userProvider); |
||
| 18 | } |
||
| 20 |