| Total Complexity | 4 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class SendMobileVerificationNotification |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var TokenBrokerInterface |
||
| 14 | */ |
||
| 15 | protected $tokenBroker; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * SendMobileVerificationNotification constructor. |
||
| 19 | * |
||
| 20 | * @param TokenBrokerInterface $tokenBroker |
||
| 21 | */ |
||
| 22 | public function __construct(TokenBrokerInterface $tokenBroker) |
||
| 25 | } |
||
| 26 | |||
| 27 | /** |
||
| 28 | * Handle the event. |
||
| 29 | * |
||
| 30 | * @param Registered $event |
||
| 31 | * |
||
| 32 | * @throws Exception |
||
| 33 | * |
||
| 34 | * @return void |
||
| 35 | */ |
||
| 36 | public function handle(Registered $event): void |
||
| 45 |