| Total Complexity | 1 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 25 | class SendSecondFactorRegistrationEmailCommand extends AbstractCommand implements SelfServiceExecutable |
||
| 26 | { |
||
| 27 | /** |
||
| 28 | * The ID of an identity. |
||
| 29 | * @var string |
||
| 30 | */ |
||
| 31 | #[Assert\NotBlank] |
||
| 32 | #[Assert\Type(type: 'string')] |
||
| 33 | public string $identityId; |
||
| 34 | |||
| 35 | /** |
||
| 36 | * The ID of a second factor token |
||
| 37 | * @var string |
||
| 38 | */ |
||
| 39 | #[Assert\NotBlank] |
||
| 40 | #[Assert\Type(type: 'string')] |
||
| 41 | public string $secondFactorId; |
||
| 42 | |||
| 43 | public function getIdentityId(): string |
||
| 48 |