PhoneNumber.php 560 B

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