Convert string to be all camelCase
For example, "Hello World" becomes "helloWorld" or "foo-bar-baz" becomes "fooBarBaz".
Usage
// basic usage
$string = $sanitizer->camelCase(string $value);
// usage with all arguments
$string = $sanitizer->camelCase(string $value, array $options = []);
Arguments
Name | Type(s) | Description |
---|---|---|
value | string | |
options (optional) | array |
|
Return value
string
$sanitizer methods and properties
API reference based on ProcessWire core version 3.0.236