protected function unserializeEmbeddedCollection(MapperInterface $mapper, array $data)
    {
        $collection = array();
        foreach ($data as $document) {
            $collection[] = $mapper->unserialize($document);
        }

        return $collection;
    }
protected function unserializeEmbeddedCollection(MapperInterface $mapper, array $data)
    {
        $collection = array();
        foreach ($data as $document) {
            $collection[] = $mapper->unserialize($document);
        }

        return $collection;
    }
protected function unserializeEmbeddedCollection ( MapperInterface $ mapper , array $ data ) { $ collection = array ( ) ; foreach ( $ data as $ document ) { $ collection [ ] = $ mapper -> unserialize ( $ document ) ; } return $ collection ; }
Unserialize an embedded collection

Return a collection of serialized objects (arrays)

@param MapperInterface $mapper
@param array           $data

@return array
Unserialize an embedded collection