| Total Complexity | 2 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 19 | class BlockPhoneNumberRequest |
||
| 20 | { |
||
| 21 | /** |
||
| 22 | * @var PhoneNumber |
||
| 23 | * @Assert\NotBlank() |
||
| 24 | * @LCAssert\E164PhoneNumber(maxMessage="person.validation.mobile.length.max") |
||
| 25 | * @AssertPhoneNumber() |
||
| 26 | */ |
||
| 27 | public $phoneNumber; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @var PersonInterface |
||
| 31 | * @Assert\NotBlank() |
||
| 32 | */ |
||
| 33 | private $blockedBy; |
||
| 34 | |||
| 35 | /** |
||
| 36 | * BlockPhoneNumberRequest constructor. |
||
| 37 | * @param PersonInterface $blockedBy |
||
| 38 | */ |
||
| 39 | 1 | public function __construct(PersonInterface $blockedBy) |
|
| 42 | 1 | } |
|
| 43 | |||
| 44 | /** |
||
| 45 | * @return PersonInterface |
||
| 46 | */ |
||
| 47 | 1 | public function getBlockedBy(): PersonInterface |
|
| 52 |