From 37272801c47127836c8e49d669a8e0f8663d701c Mon Sep 17 00:00:00 2001 From: "Nek (Maxime Veber)" Date: Thu, 17 Dec 2020 23:34:49 +0100 Subject: [PATCH] doc: readme update --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5dfbc15..271f189 100644 --- a/README.md +++ b/README.md @@ -34,12 +34,13 @@ Here is the list of tools it provides: #### ::camelize ```php -StringTools::camelize($str, $from, $encoding) : string +StringTools::camelize($str, $from, $encoding, $normalize = true) : string ``` * `$str` string input * `$from` (optional, default "\_") input string format (can be "-" or "\_") * `$encoding` (optional, default "UTF-8") encoding of your input string +* `$normalize` decide either you want to normalize (remove special characters) or not, that's what you want in most cases when camelizing #### ::startsWith