lib/Persistence/Doctrine/QueryHandler/BlockQueryHandler.php
public function loadLayoutBlocksData(Layout $layout): array
    {
        $query = $this->getBlockSelectQuery();
        $query->where(
            $query->expr()->eq('b.layout_id', ':layout_id')
        )
        ->setParameter('layout_id', $layout->id, Type::INTEGER);

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

        return $query->execute()->fetchAll(PDO::FETCH_ASSOC);
    }
public function loadLayoutBlocksData(Layout $layout): array
    {
        $query = $this->getBlockSelectQuery();
        $query->where(
            $query->expr()->eq('b.layout_id', ':layout_id')
        )
        ->setParameter('layout_id', $layout->id, Type::INTEGER);

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

        return $query->execute()->fetchAll(PDO::FETCH_ASSOC);
    }
public function loadLayoutBlocksData ( Layout $ layout ) : array { $ query = $ this -> getBlockSelectQuery ( ) ; $ query -> where ( $ query -> expr ( ) -> eq ( 'b.layout_id' , ':layout_id' ) ) -> setParameter ( 'layout_id' , $ layout -> id , Type :: INTEGER ) ; $ this -> applyStatusCondition ( $ query , $ layout -> status , 'b.status' ) ; return $ query -> execute ( ) -> fetchAll ( PDO :: FETCH_ASSOC ) ; }
Loads all layout block data.
Loads all layout block data .