lib/Persistence/Doctrine/QueryHandler/BlockQueryHandler.php
public function loadZoneBlocksData(Zone $zone): array
    {
        $query = $this->getBlockSelectQuery();
        $query->where(
            $query->expr()->like('b.path', ':path')
        )
        ->setParameter('path', '%/' . $zone->rootBlockId . '/%', Type::STRING);

        $this->applyStatusCondition($query, $zone->status, 'b.status');

        return $query->execute()->fetchAll(PDO::FETCH_ASSOC);
    }
public function loadZoneBlocksData(Zone $zone): array
    {
        $query = $this->getBlockSelectQuery();
        $query->where(
            $query->expr()->like('b.path', ':path')
        )
        ->setParameter('path', '%/' . $zone->rootBlockId . '/%', Type::STRING);

        $this->applyStatusCondition($query, $zone->status, 'b.status');

        return $query->execute()->fetchAll(PDO::FETCH_ASSOC);
    }
public function loadZoneBlocksData ( Zone $ zone ) : array { $ query = $ this -> getBlockSelectQuery ( ) ; $ query -> where ( $ query -> expr ( ) -> like ( 'b.path' , ':path' ) ) -> setParameter ( 'path' , '%/' . $ zone -> rootBlockId . '/%' , Type :: STRING ) ; $ this -> applyStatusCondition ( $ query , $ zone -> status , 'b.status' ) ; return $ query -> execute ( ) -> fetchAll ( PDO :: FETCH_ASSOC ) ; }
Loads all zone block data.
Loads all zone block data .