Skip to content

Commit

Permalink
Note about enums
Browse files Browse the repository at this point in the history
  • Loading branch information
BenMorel committed Nov 26, 2023
1 parent e374324 commit f3b8c2e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ itself a port of [Google's libphonenumber](https://github.com/googlei18n/libphon
It provides an equivalent functionality, with the following implementation differences:

- `PhoneNumber` is an immutable class; it can be safely passed around without having to worry about the risk for it to be changed;
- `PhoneNumber` is not just a mere data container, but provides all the methods to parse, format and validate phone numbers; it transparently encapsulates `PhoneNumberUtil`.
- `PhoneNumber` is not just a mere data container, but provides all the methods to parse, format and validate phone numbers; it transparently encapsulates `PhoneNumberUtil`;
- `PhoneNumberFormat` and `PhoneNumberType` are native PHP enums.

## Installation

Expand Down

0 comments on commit f3b8c2e

Please sign in to comment.