src/Traits/InflectionClassifyTrait.php
protected function doClassify($string)
    {
        $partsNamespace = explode('\\', $string);
        $return = [];
        foreach ($partsNamespace as $partNamespace) {
            $parts = explode("-", $partNamespace);
            $parts = array_map([$this, "camelize"], $parts);

            $return[] = implode("_", $parts);
        }
        return implode('\\', $return);
    }
protected function doClassify($string)
    {
        $partsNamespace = explode('\\', $string);
        $return = [];
        foreach ($partsNamespace as $partNamespace) {
            $parts = explode("-", $partNamespace);
            $parts = array_map([$this, "camelize"], $parts);

            $return[] = implode("_", $parts);
        }
        return implode('\\', $return);
    }
protected function doClassify ( $ string ) { $ partsNamespace = explode ( '\\' , $ string ) ; $ return = [ ] ; foreach ( $ partsNamespace as $ partNamespace ) { $ parts = explode ( "-" , $ partNamespace ) ; $ parts = array_map ( [ $ this , "camelize" ] , $ parts ) ; $ return [ ] = implode ( "_" , $ parts ) ; } return implode ( '\\' , $ return ) ; }
Converts lowercase string to underscored camelize class format

@param string $string
@return string
Converts lowercase string to underscored camelize class format