| Total Complexity | 6 |
| Total Lines | 68 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 5 | class InlineQueryResultContact extends InlineQueryResultAbstract |
||
| 6 | { |
||
| 7 | const ENTITY_TYPE = 'InlineQueryResultContact'; |
||
| 8 | |||
| 9 | protected $phone_number; |
||
| 10 | |||
| 11 | protected $first_name; |
||
| 12 | |||
| 13 | protected $last_name; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @return mixed |
||
| 17 | */ |
||
| 18 | public function getPhoneNumber() |
||
| 19 | { |
||
| 20 | return $this->phone_number; |
||
| 21 | } |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @param mixed $phone_number |
||
| 25 | * |
||
| 26 | * @return $this |
||
| 27 | */ |
||
| 28 | public function setPhoneNumber($phone_number) |
||
| 29 | { |
||
| 30 | $this->phone_number = $phone_number; |
||
| 31 | |||
| 32 | return $this; |
||
| 33 | } |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @return mixed |
||
| 37 | */ |
||
| 38 | public function getFirstName() |
||
| 39 | { |
||
| 40 | return $this->first_name; |
||
| 41 | } |
||
| 42 | |||
| 43 | /** |
||
| 44 | * @param mixed $first_name |
||
| 45 | * |
||
| 46 | * @return $this |
||
| 47 | */ |
||
| 48 | public function setFirstName($first_name) |
||
| 49 | { |
||
| 50 | $this->first_name = $first_name; |
||
| 51 | |||
| 52 | return $this; |
||
| 53 | } |
||
| 54 | |||
| 55 | /** |
||
| 56 | * @return mixed |
||
| 57 | */ |
||
| 58 | public function getLastName() |
||
| 61 | } |
||
| 62 | |||
| 63 | /** |
||
| 64 | * @param mixed $last_name |
||
| 65 | * |
||
| 66 | * @return $this |
||
| 67 | */ |
||
| 68 | public function setLastName($last_name) |
||
| 73 | } |
||
| 74 | } |
||
| 75 |