final public function arrayKeysToCamel(array $snakeArray)
    {
        // hold the array of new values
        $camelArray = [];
        foreach ($snakeArray as $key => $value) {
            // tricky recursive
            if (is_array($value)) {
                $value = $this->arrayKeysToCamel($value);
            }
            $camelArray[$this->camelize($key)] = $value;
            unset($snakeArray[$key]);
        }
        return $camelArray;
    }
final public function arrayKeysToCamel(array $snakeArray)
    {
        // hold the array of new values
        $camelArray = [];
        foreach ($snakeArray as $key => $value) {
            // tricky recursive
            if (is_array($value)) {
                $value = $this->arrayKeysToCamel($value);
            }
            $camelArray[$this->camelize($key)] = $value;
            unset($snakeArray[$key]);
        }
        return $camelArray;
    }
final public function arrayKeysToCamel ( array $ snakeArray ) { // hold the array of new values $ camelArray = [ ] ; foreach ( $ snakeArray as $ key => $ value ) { // tricky recursive if ( is_array ( $ value ) ) { $ value = $ this -> arrayKeysToCamel ( $ value ) ; } $ camelArray [ $ this -> camelize ( $ key ) ] = $ value ; unset ( $ snakeArray [ $ key ] ) ; } return $ camelArray ; }
In-Place, recursive conversion of array keys in snake_Case to camelCase

@param array $snakeArray Array with snake_keys
@return array
In - Place recursive conversion of array keys in snake_Case to camelCase