Skip to content

Commit

Permalink
Constant visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
BenMorel committed Oct 4, 2017
1 parent 7de07f4 commit 42709ee
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 19 deletions.
8 changes: 4 additions & 4 deletions src/PhoneNumberFormat.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class PhoneNumberFormat
*
* Example: `+41446681800`.
*/
const E164 = 0;
public const E164 = 0;

/**
* The international format.
Expand All @@ -27,7 +27,7 @@ class PhoneNumberFormat
*
* Example: `+41 44 668 1800`.
*/
const INTERNATIONAL = 1;
public const INTERNATIONAL = 1;

/**
* The national format.
Expand All @@ -37,7 +37,7 @@ class PhoneNumberFormat
*
* Example: `044 668 1800`.
*/
const NATIONAL = 2;
public const NATIONAL = 2;

/**
* The RFC 3966 format.
Expand All @@ -46,5 +46,5 @@ class PhoneNumberFormat
*
* Example: `tel:+41-44-668-1800`.
*/
const RFC3966 = 3;
public const RFC3966 = 3;
}
30 changes: 15 additions & 15 deletions src/PhoneNumberType.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,30 +12,30 @@ class PhoneNumberType
/**
* Fixed line number.
*/
const FIXED_LINE = 0;
public const FIXED_LINE = 0;

/**
* Mobile number.
*/
const MOBILE = 1;
public const MOBILE = 1;

/**
* Fixed line or mobile number.
*
* In some regions (e.g. the USA), it is impossible to distinguish between fixed-line and
* mobile numbers by looking at the phone number itself.
*/
const FIXED_LINE_OR_MOBILE = 2;
public const FIXED_LINE_OR_MOBILE = 2;

/**
* Freephone number.
*/
const TOLL_FREE = 3;
public const TOLL_FREE = 3;

/**
* Premium rate number.
*/
const PREMIUM_RATE = 4;
public const PREMIUM_RATE = 4;

/**
* Shared cost number.
Expand All @@ -45,14 +45,14 @@ class PhoneNumberType
*
* @see http://en.wikipedia.org/wiki/Shared_Cost_Service
*/
const SHARED_COST = 5;
public const SHARED_COST = 5;

/**
* Voice over IP number.
*
* This includes TSoIP (Telephony Service over IP).
*/
const VOIP = 6;
public const VOIP = 6;

/**
* Personal number.
Expand All @@ -62,45 +62,45 @@ class PhoneNumberType
*
* @see http://en.wikipedia.org/wiki/Personal_Numbers
*/
const PERSONAL_NUMBER = 7;
public const PERSONAL_NUMBER = 7;

/**
* Pager number.
*/
const PAGER = 8;
public const PAGER = 8;

/**
* Universal Access Number or Company Number.
*
* The number may be further routed to specific offices, but allows one number to be used for a company.
*/
const UAN = 9;
public const UAN = 9;

/**
* Unknown number type.
*
* A phone number is of type UNKNOWN when it does not fit any of the known patterns
* for a specific region.
*/
const UNKNOWN = 10;
public const UNKNOWN = 10;

/**
* Emergency number.
*/
const EMERGENCY = 27;
public const EMERGENCY = 27;

/**
* Voicemail number.
*/
const VOICEMAIL = 28;
public const VOICEMAIL = 28;

/**
* Short code number.
*/
const SHORT_CODE = 29;
public const SHORT_CODE = 29;

/**
* Standard rate number.
*/
const STANDARD_RATE = 30;
public const STANDARD_RATE = 30;
}

0 comments on commit 42709ee

Please sign in to comment.