| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 20 | public function create(ContainerBuilder $container, $id, $config, $userProvider, $defaultEntryPoint) |
||
| 21 | { |
||
| 22 | $providerId = 'security.authentication.provider.hmac.' . $id; |
||
| 23 | $container->setDefinition($providerId, new ChildDefinition('hmac.security.authentication.provider')); |
||
| 24 | |||
| 25 | $listenerId = 'security.authentication.listener.hmac.' . $id; |
||
| 26 | $container->setDefinition($listenerId, new ChildDefinition('hmac.security.authentication.listener')); |
||
| 27 | |||
| 28 | return [$providerId, $listenerId, $defaultEntryPoint]; |
||
| 29 | } |
||
| 54 |