lib/Persistence/Doctrine/Mapper/BlockMapper.php
public function mapCollectionReferences(array $data): array
    {
        $collectionReferences = [];

        foreach ($data as $dataItem) {
            $collectionReferences[] = CollectionReference::fromArray(
                [
                    'blockId' => (int) $dataItem['block_id'],
                    'blockStatus' => (int) $dataItem['block_status'],
                    'collectionId' => (int) $dataItem['collection_id'],
                    'collectionStatus' => (int) $dataItem['collection_status'],
                    'identifier' => $dataItem['identifier'],
                ]
            );
        }

        return $collectionReferences;
    }
public function mapCollectionReferences(array $data): array
    {
        $collectionReferences = [];

        foreach ($data as $dataItem) {
            $collectionReferences[] = CollectionReference::fromArray(
                [
                    'blockId' => (int) $dataItem['block_id'],
                    'blockStatus' => (int) $dataItem['block_status'],
                    'collectionId' => (int) $dataItem['collection_id'],
                    'collectionStatus' => (int) $dataItem['collection_status'],
                    'identifier' => $dataItem['identifier'],
                ]
            );
        }

        return $collectionReferences;
    }
public function mapCollectionReferences ( array $ data ) : array { $ collectionReferences = [ ] ; foreach ( $ data as $ dataItem ) { $ collectionReferences [ ] = CollectionReference :: fromArray ( [ 'blockId' => ( int ) $ dataItem [ 'block_id' ] , 'blockStatus' => ( int ) $ dataItem [ 'block_status' ] , 'collectionId' => ( int ) $ dataItem [ 'collection_id' ] , 'collectionStatus' => ( int ) $ dataItem [ 'collection_status' ] , 'identifier' => $ dataItem [ 'identifier' ] , ] ) ; } return $ collectionReferences ; }
Maps data from database to collection reference values.

@return \Netgen\BlockManager\Persistence\Values\Block\CollectionReference[]
Maps data from database to collection reference values .