Transform.php
public static function fromCamelToUnder($data)
    {
        $transformed = [];
        foreach ($data as $camelKey => $value) {
            $transformed[self::unCamelize($camelKey)] = $value;
        }

        return $transformed;
    }
public static function fromCamelToUnder($data)
    {
        $transformed = [];
        foreach ($data as $camelKey => $value) {
            $transformed[self::unCamelize($camelKey)] = $value;
        }

        return $transformed;
    }
public static function fromCamelToUnder ( $ data ) { $ transformed = [ ] ; foreach ( $ data as $ camelKey => $ value ) { $ transformed [ self :: unCamelize ( $ camelKey ) ] = $ value ; } return $ transformed ; }
Transform an array's keys from camelCase to under_score
@param array $data
@return array
Transform an array s keys from camelCase to under_score