Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcin Pudełek committed Nov 9, 2017
1 parent b1d2372 commit b88f4bf
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,23 +90,10 @@ string(3) "102"
string(8) "10202791"
```
returns:
```text
bool(false)
bool(true)
bool(false)
bool(false)
bool(false)
bool(false)
bool(false)
string(11) "48426742222"
string(9) "426742222"
string(7) "Łódź"
```


#### PHONE
```php

$oPhone = new \mrcnpdlk\Validator\Types\Phone('48 42 6742222');
var_dump($oPhone->isMobile());
var_dump($oPhone->isFixed());
Expand All @@ -119,6 +106,19 @@ var_dump($oPhone->getInternationalFormat());
var_dump($oPhone->getNationalFormat());
var_dump($oPhone->getRegion());
```
returns:
```text
bool(false)
bool(true)
bool(false)
bool(false)
bool(false)
bool(false)
bool(false)
string(11) "48426742222"
string(9) "426742222"
string(7) "Łódź"
```

## Running the tests

Expand Down

0 comments on commit b88f4bf

Please sign in to comment.