Skip to content

Commit

Permalink
update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
shen2 committed Mar 12, 2015
1 parent 317f727 commit a97dafc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ Install with Packagist:
Get data of GB/T 2260-2013.

```php
var_dump(GB2260::getData());
var_dump(cn\GB2260::getData());
```

### .parse(code)

Parse a code, and get the city name of that code.

```php
GB2260::parse(420822);
cn\GB2260::parse(420822);
// => '湖北省 荆门市 沙洋县'
```

Expand Down

0 comments on commit a97dafc

Please sign in to comment.