| 1 | <?php |
||
| 20 | trait PhoneNumbersTrait { |
||
| 21 | |||
| 22 | /** |
||
| 23 | * Mobile number. |
||
| 24 | * |
||
| 25 | * @var string |
||
| 26 | */ |
||
| 27 | private $mobileNumber; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Phone number. |
||
| 31 | * |
||
| 32 | * @var string |
||
| 33 | */ |
||
| 34 | private $phoneNumber; |
||
| 35 | |||
| 36 | /** |
||
| 37 | * Get the mobile number. |
||
| 38 | * |
||
| 39 | * @return string Returns the mobile number. |
||
| 40 | */ |
||
| 41 | public function getMobileNumber() { |
||
| 44 | |||
| 45 | /** |
||
| 46 | * Get the phone number. |
||
| 47 | * |
||
| 48 | * @return string Returns the phone number. |
||
| 49 | */ |
||
| 50 | public function getPhoneNumber() { |
||
| 53 | |||
| 54 | /** |
||
| 55 | * Set the mobile number. |
||
| 56 | * |
||
| 57 | * @param string $mobileNumber |
||
| 58 | * @return mixed Returns the class using this trait. |
||
| 59 | */ |
||
| 60 | public function setMobileNumber($mobileNumber) { |
||
| 64 | |||
| 65 | /** |
||
| 66 | * Set the phone number. |
||
| 67 | * |
||
| 68 | * @param string $phoneNumber The phone number. |
||
| 69 | * @return mixed Returns the class using this trait. |
||
| 70 | */ |
||
| 71 | public function setPhoneNumber($phoneNumber) { |
||
| 75 | |||
| 76 | } |
||
| 77 |