| Total Complexity | 3 |
| Total Lines | 41 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 1 | Features | 1 |
| 1 | <?php |
||
| 15 | class Contact implements ValueObjectInterface, ContactContract |
||
| 16 | { |
||
| 17 | use CompositeValueObjectWithExtension; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @var string|null |
||
| 21 | */ |
||
| 22 | private $name; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @var Url|null |
||
| 26 | */ |
||
| 27 | private $url; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @var Email|null |
||
| 31 | */ |
||
| 32 | private $email; |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @return string|null |
||
| 36 | */ |
||
| 37 | public function getName(): ?string |
||
| 38 | { |
||
| 39 | return $this->name; |
||
| 40 | } |
||
| 41 | |||
| 42 | /** |
||
| 43 | * @return string|null |
||
| 44 | */ |
||
| 45 | public function getUrl(): ?string |
||
| 48 | } |
||
| 49 | |||
| 50 | /** |
||
| 51 | * @return string|null |
||
| 52 | */ |
||
| 53 | public function getEmail(): ?string |
||
| 56 | } |
||
| 57 | } |
||
| 58 |