| Total Complexity | 3 |
| Total Lines | 38 |
| Duplicated Lines | 0 % |
| Coverage | 19.05% |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | class U2FRegistrationSubscriber implements EventSubscriberInterface { |
||
| 14 | |||
| 15 | private $repository; |
||
| 16 | private $urlGenerator; |
||
| 17 | |||
| 18 | 7 | public function __construct(U2fKeyRepositoryInterface $repository, UrlGeneratorInterface $urlGenerator) { |
|
| 19 | 7 | $this->repository = $repository; |
|
| 20 | 7 | $this->urlGenerator = $urlGenerator; |
|
| 21 | 7 | } |
|
| 22 | |||
| 23 | public function onRegister(RegisterEvent $event) { |
||
| 42 | } |
||
| 43 | |||
| 44 | /** |
||
| 45 | * @inheritDoc |
||
| 46 | */ |
||
| 47 | public static function getSubscribedEvents() { |
||
| 54 | } |