1 | <?php |
||
24 | final class ContactInformation implements JsonSerializable |
||
25 | { |
||
26 | /** |
||
27 | * @var string |
||
28 | */ |
||
29 | private $contactInformation; |
||
30 | |||
31 | /** |
||
32 | * @param string $contactInformation |
||
33 | */ |
||
34 | public function __construct($contactInformation) |
||
42 | |||
43 | /** |
||
44 | * @param ContactInformation $otherContactInformation |
||
45 | * @return bool |
||
46 | */ |
||
47 | public function equals(ContactInformation $otherContactInformation) |
||
51 | |||
52 | /** |
||
53 | * @return string |
||
54 | */ |
||
55 | public function getContactInformation() |
||
59 | |||
60 | public function jsonSerialize() |
||
64 | |||
65 | public function __toString() |
||
69 | } |
||
70 |