lib/Persistence/Doctrine/QueryHandler/LayoutQueryHandler.php
public function createZone(Zone $zone): void
    {
        $query = $this->connection->createQueryBuilder()
            ->insert('ngbm_zone')
            ->values(
                [
                    'identifier' => ':identifier',
                    'layout_id' => ':layout_id',
                    'status' => ':status',
                    'root_block_id' => ':root_block_id',
                    'linked_layout_id' => ':linked_layout_id',
                    'linked_zone_identifier' => ':linked_zone_identifier',
                ]
            )
            ->setParameter('identifier', $zone->identifier, Type::STRING)
            ->setParameter('layout_id', $zone->layoutId, Type::INTEGER)
            ->setParameter('status', $zone->status, Type::INTEGER)
            ->setParameter('root_block_id', $zone->rootBlockId, Type::INTEGER)
            ->setParameter('linked_layout_id', $zone->linkedLayoutId, Type::INTEGER)
            ->setParameter('linked_zone_identifier', $zone->linkedZoneIdentifier, Type::STRING);

        $query->execute();
    }
public function createZone(Zone $zone): void
    {
        $query = $this->connection->createQueryBuilder()
            ->insert('ngbm_zone')
            ->values(
                [
                    'identifier' => ':identifier',
                    'layout_id' => ':layout_id',
                    'status' => ':status',
                    'root_block_id' => ':root_block_id',
                    'linked_layout_id' => ':linked_layout_id',
                    'linked_zone_identifier' => ':linked_zone_identifier',
                ]
            )
            ->setParameter('identifier', $zone->identifier, Type::STRING)
            ->setParameter('layout_id', $zone->layoutId, Type::INTEGER)
            ->setParameter('status', $zone->status, Type::INTEGER)
            ->setParameter('root_block_id', $zone->rootBlockId, Type::INTEGER)
            ->setParameter('linked_layout_id', $zone->linkedLayoutId, Type::INTEGER)
            ->setParameter('linked_zone_identifier', $zone->linkedZoneIdentifier, Type::STRING);

        $query->execute();
    }
public function createZone ( Zone $ zone ) : void { $ query = $ this -> connection -> createQueryBuilder ( ) -> insert ( 'ngbm_zone' ) -> values ( [ 'identifier' => ':identifier' , 'layout_id' => ':layout_id' , 'status' => ':status' , 'root_block_id' => ':root_block_id' , 'linked_layout_id' => ':linked_layout_id' , 'linked_zone_identifier' => ':linked_zone_identifier' , ] ) -> setParameter ( 'identifier' , $ zone -> identifier , Type :: STRING ) -> setParameter ( 'layout_id' , $ zone -> layoutId , Type :: INTEGER ) -> setParameter ( 'status' , $ zone -> status , Type :: INTEGER ) -> setParameter ( 'root_block_id' , $ zone -> rootBlockId , Type :: INTEGER ) -> setParameter ( 'linked_layout_id' , $ zone -> linkedLayoutId , Type :: INTEGER ) -> setParameter ( 'linked_zone_identifier' , $ zone -> linkedZoneIdentifier , Type :: STRING ) ; $ query -> execute ( ) ; }
Creates a zone.
Creates a zone .