lib/Persistence/Doctrine/QueryHandler/BlockQueryHandler.php
public function createCollectionReference(CollectionReference $collectionReference): void
    {
        $query = $this->connection->createQueryBuilder();

        $query->insert('ngbm_block_collection')
            ->values(
                [
                    'block_id' => ':block_id',
                    'block_status' => ':block_status',
                    'collection_id' => ':collection_id',
                    'collection_status' => ':collection_status',
                    'identifier' => ':identifier',
                ]
            )
            ->setParameter('block_id', $collectionReference->blockId, Type::INTEGER)
            ->setParameter('block_status', $collectionReference->blockStatus, Type::INTEGER)
            ->setParameter('collection_id', $collectionReference->collectionId, Type::INTEGER)
            ->setParameter('collection_status', $collectionReference->collectionStatus, Type::INTEGER)
            ->setParameter('identifier', $collectionReference->identifier, Type::STRING);

        $query->execute();
    }
public function createCollectionReference(CollectionReference $collectionReference): void
    {
        $query = $this->connection->createQueryBuilder();

        $query->insert('ngbm_block_collection')
            ->values(
                [
                    'block_id' => ':block_id',
                    'block_status' => ':block_status',
                    'collection_id' => ':collection_id',
                    'collection_status' => ':collection_status',
                    'identifier' => ':identifier',
                ]
            )
            ->setParameter('block_id', $collectionReference->blockId, Type::INTEGER)
            ->setParameter('block_status', $collectionReference->blockStatus, Type::INTEGER)
            ->setParameter('collection_id', $collectionReference->collectionId, Type::INTEGER)
            ->setParameter('collection_status', $collectionReference->collectionStatus, Type::INTEGER)
            ->setParameter('identifier', $collectionReference->identifier, Type::STRING);

        $query->execute();
    }
public function createCollectionReference ( CollectionReference $ collectionReference ) : void { $ query = $ this -> connection -> createQueryBuilder ( ) ; $ query -> insert ( 'ngbm_block_collection' ) -> values ( [ 'block_id' => ':block_id' , 'block_status' => ':block_status' , 'collection_id' => ':collection_id' , 'collection_status' => ':collection_status' , 'identifier' => ':identifier' , ] ) -> setParameter ( 'block_id' , $ collectionReference -> blockId , Type :: INTEGER ) -> setParameter ( 'block_status' , $ collectionReference -> blockStatus , Type :: INTEGER ) -> setParameter ( 'collection_id' , $ collectionReference -> collectionId , Type :: INTEGER ) -> setParameter ( 'collection_status' , $ collectionReference -> collectionStatus , Type :: INTEGER ) -> setParameter ( 'identifier' , $ collectionReference -> identifier , Type :: STRING ) ; $ query -> execute ( ) ; }
Creates the collection reference.
Creates the collection reference .