src/Helpers/Request/Inflector.php
public function camel2id($name, $separator = '-', $strict = false)
    {
        return $this->proxy(__FUNCTION__, [$name, $separator, $strict]);
    }
public function camel2id($name, $separator = '-', $strict = false)
    {
        return $this->proxy(__FUNCTION__, [$name, $separator, $strict]);
    }
Converts a CamelCase name into an ID in lowercase.
Words in the ID may be concatenated using the specified character (defaults to '-').
For example, 'PostTag' will be converted to 'post-tag'.
@param string $name the string to be converted
@param string $separator the character used to concatenate the words in the ID
@param bool|string $strict whether to insert a separator between two consecutive uppercase chars, defaults to false
@return string the resulting ID
@see \Reaction\Helpers\Inflector::camel2id()