Skip to content

Commit

Permalink
doc: readme update
Browse files Browse the repository at this point in the history
  • Loading branch information
Nek- committed Dec 17, 2020
1 parent f5d7ac4 commit 3727280
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 3727280

Please sign in to comment.