| 1 | <?php |
||
| 9 | class Recipient |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @var string|null |
||
| 13 | */ |
||
| 14 | private $fio; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @var string|null |
||
| 18 | */ |
||
| 19 | private $phone; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @var string|null |
||
| 23 | */ |
||
| 24 | private $email; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @return string |
||
| 28 | */ |
||
| 29 | public function getFio(): string |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @param string|null $fio |
||
| 36 | * @return $this |
||
| 37 | */ |
||
| 38 | public function setFio(string $fio = null) |
||
| 44 | |||
| 45 | /** |
||
| 46 | * @return string |
||
| 47 | */ |
||
| 48 | public function getPhone(): string |
||
| 52 | |||
| 53 | /** |
||
| 54 | * @param string|null $phone |
||
| 55 | * @return $this |
||
| 56 | */ |
||
| 57 | public function setPhone(string $phone = null) |
||
| 63 | |||
| 64 | /** |
||
| 65 | * @return string |
||
| 66 | */ |
||
| 67 | public function getEmail(): string |
||
| 71 | |||
| 72 | /** |
||
| 73 | * @param string|null $email |
||
| 74 | * @return $this |
||
| 75 | */ |
||
| 76 | public function setEmail(string $email = null) |
||
| 82 | } |
||
| 83 |