Date.php
1 year ago
DateAndOrTime.php
1 year ago
DateTime.php
1 year ago
LanguageTag.php
1 year ago
PhoneNumber.php
1 year ago
TimeStamp.php
1 year ago
PhoneNumber.php
31 lines
| 1 | <?php |
| 2 | |
| 3 | namespace Sabre\VObject\Property\VCard; |
| 4 | |
| 5 | use Sabre\VObject\Property; |
| 6 | |
| 7 | /** |
| 8 | * PhoneNumber property. |
| 9 | * |
| 10 | * This object encodes PHONE-NUMBER values. |
| 11 | * |
| 12 | * @author Christian Kraus <christian@kraus.work> |
| 13 | */ |
| 14 | class PhoneNumber extends Property\Text |
| 15 | { |
| 16 | protected $structuredValues = []; |
| 17 | |
| 18 | /** |
| 19 | * Returns the type of value. |
| 20 | * |
| 21 | * This corresponds to the VALUE= parameter. Every property also has a |
| 22 | * 'default' valueType. |
| 23 | * |
| 24 | * @return string |
| 25 | */ |
| 26 | public function getValueType() |
| 27 | { |
| 28 | return 'PHONE-NUMBER'; |
| 29 | } |
| 30 | } |
| 31 |