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

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

        return $query->execute()->fetchAll(PDO::FETCH_ASSOC);
    }
public function loadRuleData($ruleId, int $status): array
    {
        $query = $this->getRuleSelectQuery();
        $query->where(
            $query->expr()->eq('r.id', ':id')
        )
        ->setParameter('id', $ruleId, Type::INTEGER);

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

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

@param int|string $ruleId
@param int $status

@return array
Returns all data for specified rule .