lib/Persistence/Doctrine/QueryHandler/LayoutResolverQueryHandler.php
public function loadConditionData($conditionId, int $status): array
    {
        $query = $this->getConditionSelectQuery();
        $query->where(
            $query->expr()->eq('id', ':id')
        )
        ->setParameter('id', $conditionId, Type::INTEGER);

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

        return $query->execute()->fetchAll(PDO::FETCH_ASSOC);
    }
public function loadConditionData($conditionId, int $status): array
    {
        $query = $this->getConditionSelectQuery();
        $query->where(
            $query->expr()->eq('id', ':id')
        )
        ->setParameter('id', $conditionId, Type::INTEGER);

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

        return $query->execute()->fetchAll(PDO::FETCH_ASSOC);
    }
public function loadConditionData ( $ conditionId , int $ status ) : array { $ query = $ this -> getConditionSelectQuery ( ) ; $ query -> where ( $ query -> expr ( ) -> eq ( 'id' , ':id' ) ) -> setParameter ( 'id' , $ conditionId , Type :: INTEGER ) ; $ this -> applyStatusCondition ( $ query , $ status ) ; return $ query -> execute ( ) -> fetchAll ( PDO :: FETCH_ASSOC ) ; }
Returns all data for specified condition.

@param int|string $conditionId
@param int $status

@return array
Returns all data for specified condition .