public static camel2id ( string $name, string $separator = '-', boolean | string $strict = false ) : string | ||
$name | string | the string to be converted |
$separator | string | the character used to concatenate the words in the ID |
$strict | boolean | string | whether to insert a separator between two consecutive uppercase chars, defaults to false |
return | string | the resulting ID |