module/FzyCommon/src/FzyCommon/Util/Params.php
public static function extractParamsFromCollection($collection)
    {
        $result = array();
        foreach ($collection as $key => $value) {
            $result[$key] = $value;
        }

        return $result;
    }
public static function extractParamsFromCollection($collection)
    {
        $result = array();
        foreach ($collection as $key => $value) {
            $result[$key] = $value;
        }

        return $result;
    }
Converts an iterable collection into a raw array
@param $collection
@return array