lib/Persistence/Doctrine/QueryHandler/LayoutQueryHandler.php
public function loadLayoutZonesData(Layout $layout): array
    {
        $query = $this->getZoneSelectQuery();
        $query->where(
            $query->expr()->eq('layout_id', ':layout_id')
        )
        ->setParameter('layout_id', $layout->id, Type::INTEGER)
        ->orderBy('identifier', 'ASC');

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

        return $query->execute()->fetchAll(PDO::FETCH_ASSOC);
    }
public function loadLayoutZonesData(Layout $layout): array
    {
        $query = $this->getZoneSelectQuery();
        $query->where(
            $query->expr()->eq('layout_id', ':layout_id')
        )
        ->setParameter('layout_id', $layout->id, Type::INTEGER)
        ->orderBy('identifier', 'ASC');

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

        return $query->execute()->fetchAll(PDO::FETCH_ASSOC);
    }
public function loadLayoutZonesData ( Layout $ layout ) : array { $ query = $ this -> getZoneSelectQuery ( ) ; $ query -> where ( $ query -> expr ( ) -> eq ( 'layout_id' , ':layout_id' ) ) -> setParameter ( 'layout_id' , $ layout -> id , Type :: INTEGER ) -> orderBy ( 'identifier' , 'ASC' ) ; $ this -> applyStatusCondition ( $ query , $ layout -> status ) ; return $ query -> execute ( ) -> fetchAll ( PDO :: FETCH_ASSOC ) ; }
Loads all data for zones that belong to provided layout.
Loads all data for zones that belong to provided layout .