Skip to content

Commit

Permalink
Typo. close overtrue#4
Browse files Browse the repository at this point in the history
  • Loading branch information
overtrue committed Apr 8, 2016
1 parent 1ca6f16 commit bc6c76e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ composer update
Add the following line to the section `providers` of `config/app.php`:

```php
'Overtrue\LaravelPinyin\ServiceProvider',
...
Overtrue\LaravelPinyin\ServiceProvider::class,
...
```

### config file
Expand Down Expand Up @@ -58,7 +60,7 @@ $app->register(Overtrue\LaravelPinyin\ServiceProvider::class);
| `PINYIN_DELIMITER` | delimiter | `" "` | Symbol for stitching each pinyin. `'-' => dài-zhe-xī-wàng-qù-lǔ-xíng` |
| PINYIN_ACCENT | accent | `true` | Output with tone symbol. |
| PINYIN_ONLY_CHINESE | only_chinese | `true` | Leaving only the Chinese characters. |
| PINYIN_UPPERCASE | uppercase | `true` | Output uppercase(letter) |
| PINYIN_UPPERCASE | uppercase | `false` | Output uppercase(letter) |


## Usage
Expand Down

0 comments on commit bc6c76e

Please sign in to comment.