lib/Core/Mapper/BlockMapper.php
private function loadCollections(PersistenceBlock $block): Generator
    {
        $collectionReferences = $this->blockHandler->loadCollectionReferences($block);

        foreach ($collectionReferences as $collectionReference) {
            yield $collectionReference->identifier => $this->collectionHandler->loadCollection(
                $collectionReference->collectionId,
                $collectionReference->collectionStatus
            );
        }
    }
private function loadCollections(PersistenceBlock $block): Generator
    {
        $collectionReferences = $this->blockHandler->loadCollectionReferences($block);

        foreach ($collectionReferences as $collectionReference) {
            yield $collectionReference->identifier => $this->collectionHandler->loadCollection(
                $collectionReference->collectionId,
                $collectionReference->collectionStatus
            );
        }
    }
private function loadCollections ( PersistenceBlock $ block ) : Generator { $ collectionReferences = $ this -> blockHandler -> loadCollectionReferences ( $ block ) ; foreach ( $ collectionReferences as $ collectionReference ) { yield $ collectionReference -> identifier => $ this -> collectionHandler -> loadCollection ( $ collectionReference -> collectionId , $ collectionReference -> collectionStatus ) ; } }
Loads all persistence collections belonging to the provided block.
Loads all persistence collections belonging to the provided block .