lib/Persistence/Doctrine/QueryHandler/LayoutResolverQueryHandler.php
public function loadRuleTargetsData(Rule $rule): array
    {
        $query = $this->getTargetSelectQuery();
        $query->where(
            $query->expr()->eq('rule_id', ':rule_id')
        )
        ->setParameter('rule_id', $rule->id, Type::INTEGER)
        ->orderBy('id', 'ASC');

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

        return $query->execute()->fetchAll(PDO::FETCH_ASSOC);
    }
public function loadRuleTargetsData(Rule $rule): array
    {
        $query = $this->getTargetSelectQuery();
        $query->where(
            $query->expr()->eq('rule_id', ':rule_id')
        )
        ->setParameter('rule_id', $rule->id, Type::INTEGER)
        ->orderBy('id', 'ASC');

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

        return $query->execute()->fetchAll(PDO::FETCH_ASSOC);
    }
public function loadRuleTargetsData ( Rule $ rule ) : array { $ query = $ this -> getTargetSelectQuery ( ) ; $ query -> where ( $ query -> expr ( ) -> eq ( 'rule_id' , ':rule_id' ) ) -> setParameter ( 'rule_id' , $ rule -> id , Type :: INTEGER ) -> orderBy ( 'id' , 'ASC' ) ; $ this -> applyStatusCondition ( $ query , $ rule -> status ) ; return $ query -> execute ( ) -> fetchAll ( PDO :: FETCH_ASSOC ) ; }
Returns all data for all rule targets.
Returns all data for all rule targets .