lib/Persistence/Doctrine/QueryHandler/LayoutQueryHandler.php
public function loadZoneData($layoutId, int $status, string $identifier): array
    {
        $query = $this->getZoneSelectQuery();
        $query->where(
            $query->expr()->andX(
                $query->expr()->eq('layout_id', ':layout_id'),
                $query->expr()->eq('identifier', ':identifier')
            )
        )
        ->setParameter('layout_id', $layoutId, Type::INTEGER)
        ->setParameter('identifier', $identifier, Type::STRING);

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

        return $query->execute()->fetchAll(PDO::FETCH_ASSOC);
    }
public function loadZoneData($layoutId, int $status, string $identifier): array
    {
        $query = $this->getZoneSelectQuery();
        $query->where(
            $query->expr()->andX(
                $query->expr()->eq('layout_id', ':layout_id'),
                $query->expr()->eq('identifier', ':identifier')
            )
        )
        ->setParameter('layout_id', $layoutId, Type::INTEGER)
        ->setParameter('identifier', $identifier, Type::STRING);

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

        return $query->execute()->fetchAll(PDO::FETCH_ASSOC);
    }
public function loadZoneData ( $ layoutId , int $ status , string $ identifier ) : array { $ query = $ this -> getZoneSelectQuery ( ) ; $ query -> where ( $ query -> expr ( ) -> andX ( $ query -> expr ( ) -> eq ( 'layout_id' , ':layout_id' ) , $ query -> expr ( ) -> eq ( 'identifier' , ':identifier' ) ) ) -> setParameter ( 'layout_id' , $ layoutId , Type :: INTEGER ) -> setParameter ( 'identifier' , $ identifier , Type :: STRING ) ; $ this -> applyStatusCondition ( $ query , $ status ) ; return $ query -> execute ( ) -> fetchAll ( PDO :: FETCH_ASSOC ) ; }
Loads all zone data with provided identifier.

@param int|string $layoutId
@param int $status
@param string $identifier

@return array
Loads all zone data with provided identifier .