Skip to content
This repository has been archived by the owner on Dec 11, 2020. It is now read-only.

Commit

Permalink
modify phone number format and document ko_KR phone number format in …
Browse files Browse the repository at this point in the history
…the README
  • Loading branch information
Enosh-Yu committed Jun 18, 2018
1 parent 8b60d2b commit bf1714a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
12 changes: 12 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -1279,6 +1279,18 @@ echo $faker->metropolitanCity; // "서울특별시"
echo $faker->borough; // "강남구"
```

### `Faker\Provider\ko_KR\PhoneNumer`

```php
<?php

// Generates a local area phone numer
echo $faker->localAreaPhoneNumber; // "02-1234-4567"

// Generates a cell phone number
echo $faker->cellPhoneNumber; // "010-9876-5432"
```

### `Faker\Provider\lt_LT\Payment`

```php
Expand Down
18 changes: 3 additions & 15 deletions src/Faker/Provider/ko_KR/PhoneNumber.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,9 @@ class PhoneNumber extends \Faker\Provider\PhoneNumber
'010-####-####',

//others: Intelligent Network(기간통신사업자)
'1588-####',
'1577-####',
'1899-####',
'1544-####',
'1644-####',
'1661-####',
'1566-####',
'1600-####',
'1670-####',
'1688-####',
'1666-####',
'1599-####',
'1877-####',
'1855-####',
'1800-####',
'15##-####',
'16##-####',
'18##-####',
);

public function localAreaPhoneNumber()
Expand Down

0 comments on commit bf1714a

Please sign in to comment.