| 1 | <?php |
||
| 7 | class PhoneNumber extends Button |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var string |
||
| 11 | */ |
||
| 12 | private $title; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @var string |
||
| 16 | */ |
||
| 17 | private $phoneNumber; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @param string $title |
||
| 21 | * @param string $phoneNumber |
||
| 22 | */ |
||
| 23 | 8 | public function __construct($title, $phoneNumber) |
|
| 33 | |||
| 34 | /** |
||
| 35 | * @return string |
||
| 36 | */ |
||
| 37 | 1 | public function getTitle() |
|
| 41 | |||
| 42 | /** |
||
| 43 | * @return string |
||
| 44 | */ |
||
| 45 | 1 | public function getPhoneNumber() |
|
| 49 | |||
| 50 | /** |
||
| 51 | * @inheritdoc |
||
| 52 | */ |
||
| 53 | 1 | public function jsonSerialize() |
|
| 61 | } |
||
| 62 |