private function parse(array $data)
    {
        $result = array();

        foreach ($data as $index => $array) {
            if ($this->serializer->isSerialized($array[ConstProviderInterface::CACHE_PARAM_VALUE])) {
                $array[ConstProviderInterface::CACHE_PARAM_VALUE] = $this->serializer->unserialize($array[ConstProviderInterface::CACHE_PARAM_VALUE]);
            }

            $result[$array[ConstProviderInterface::CACHE_PARAM_KEY]] = array(
                ConstProviderInterface::CACHE_PARAM_VALUE => $array[ConstProviderInterface::CACHE_PARAM_VALUE], 
                ConstProviderInterface::CACHE_PARAM_TTL => $array[ConstProviderInterface::CACHE_PARAM_TTL], 
                ConstProviderInterface::CACHE_PARAM_CREATED_ON => $array[ConstProviderInterface::CACHE_PARAM_CREATED_ON]
            );
        }

        return $result;
    }
private function parse(array $data)
    {
        $result = array();

        foreach ($data as $index => $array) {
            if ($this->serializer->isSerialized($array[ConstProviderInterface::CACHE_PARAM_VALUE])) {
                $array[ConstProviderInterface::CACHE_PARAM_VALUE] = $this->serializer->unserialize($array[ConstProviderInterface::CACHE_PARAM_VALUE]);
            }

            $result[$array[ConstProviderInterface::CACHE_PARAM_KEY]] = array(
                ConstProviderInterface::CACHE_PARAM_VALUE => $array[ConstProviderInterface::CACHE_PARAM_VALUE], 
                ConstProviderInterface::CACHE_PARAM_TTL => $array[ConstProviderInterface::CACHE_PARAM_TTL], 
                ConstProviderInterface::CACHE_PARAM_CREATED_ON => $array[ConstProviderInterface::CACHE_PARAM_CREATED_ON]
            );
        }

        return $result;
    }
private function parse ( array $ data ) { $ result = array ( ) ; foreach ( $ data as $ index => $ array ) { if ( $ this -> serializer -> isSerialized ( $ array [ ConstProviderInterface :: CACHE_PARAM_VALUE ] ) ) { $ array [ ConstProviderInterface :: CACHE_PARAM_VALUE ] = $ this -> serializer -> unserialize ( $ array [ ConstProviderInterface :: CACHE_PARAM_VALUE ] ) ; } $ result [ $ array [ ConstProviderInterface :: CACHE_PARAM_KEY ] ] = array ( ConstProviderInterface :: CACHE_PARAM_VALUE => $ array [ ConstProviderInterface :: CACHE_PARAM_VALUE ] , ConstProviderInterface :: CACHE_PARAM_TTL => $ array [ ConstProviderInterface :: CACHE_PARAM_TTL ] , ConstProviderInterface :: CACHE_PARAM_CREATED_ON => $ array [ ConstProviderInterface :: CACHE_PARAM_CREATED_ON ] ) ; } return $ result ; }
Parses result from a table

@param array $data
@return array
Parses result from a table