From bc6c76e2ce26db8b0838848ddb343e7662c98110 Mon Sep 17 00:00:00 2001 From: overtrue Date: Fri, 8 Apr 2016 14:40:49 +0800 Subject: [PATCH] Typo. close #4 --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6e76685..639afba 100755 --- a/README.md +++ b/README.md @@ -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 @@ -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