src/Common/Helper.php
protected static function convertToLowercase($str)
    {
        $explodedStr = explode('_', $str);

        if (count($explodedStr) > 1) {
            $lowerCasedStr = [];
            foreach ($explodedStr as $value) {
                $lowerCasedStr[] = strtolower($value);
            }
            $str = implode('_', $lowerCasedStr);
        }

        return $str;
    }
protected static function convertToLowercase($str)
    {
        $explodedStr = explode('_', $str);

        if (count($explodedStr) > 1) {
            $lowerCasedStr = [];
            foreach ($explodedStr as $value) {
                $lowerCasedStr[] = strtolower($value);
            }
            $str = implode('_', $lowerCasedStr);
        }

        return $str;
    }
protected static function convertToLowercase ( $ str ) { $ explodedStr = explode ( '_' , $ str ) ; if ( count ( $ explodedStr ) > 1 ) { $ lowerCasedStr = [ ] ; foreach ( $ explodedStr as $ value ) { $ lowerCasedStr [ ] = strtolower ( $ value ) ; } $ str = implode ( '_' , $ lowerCasedStr ) ; } return $ str ; }
Convert strings with underscores to be all lowercase before camelCase is preformed.

@param  string $str The input string

@return string The output string
Convert strings with underscores to be all lowercase before camelCase is preformed .