src/Resources/Resource.php
private function camelCase($key)
    {
        $parts = explode('_', $key);

        foreach ($parts as $i => $part) {
            if ($i !== 0) {
                $parts[$i] = ucfirst($part);
            }
        }

        return str_replace(' ', '', implode(' ', $parts));
    }
private function camelCase($key)
    {
        $parts = explode('_', $key);

        foreach ($parts as $i => $part) {
            if ($i !== 0) {
                $parts[$i] = ucfirst($part);
            }
        }

        return str_replace(' ', '', implode(' ', $parts));
    }
private function camelCase ( $ key ) { $ parts = explode ( '_' , $ key ) ; foreach ( $ parts as $ i => $ part ) { if ( $ i !== 0 ) { $ parts [ $ i ] = ucfirst ( $ part ) ; } } return str_replace ( ' ' , '' , implode ( ' ' , $ parts ) ) ; }
Convert the key name to camel case.

@param $key
Convert the key name to camel case .