lib/Persistence/Doctrine/Mapper/LayoutResolverMapper.php
public function mapConditions(array $data): array
    {
        $conditions = [];

        foreach ($data as $dataItem) {
            $conditions[] = Condition::fromArray(
                [
                    'id' => (int) $dataItem['id'],
                    'status' => (int) $dataItem['status'],
                    'ruleId' => (int) $dataItem['rule_id'],
                    'type' => $dataItem['type'],
                    'value' => json_decode($dataItem['value'], true),
                ]
            );
        }

        return $conditions;
    }
public function mapConditions(array $data): array
    {
        $conditions = [];

        foreach ($data as $dataItem) {
            $conditions[] = Condition::fromArray(
                [
                    'id' => (int) $dataItem['id'],
                    'status' => (int) $dataItem['status'],
                    'ruleId' => (int) $dataItem['rule_id'],
                    'type' => $dataItem['type'],
                    'value' => json_decode($dataItem['value'], true),
                ]
            );
        }

        return $conditions;
    }
public function mapConditions ( array $ data ) : array { $ conditions = [ ] ; foreach ( $ data as $ dataItem ) { $ conditions [ ] = Condition :: fromArray ( [ 'id' => ( int ) $ dataItem [ 'id' ] , 'status' => ( int ) $ dataItem [ 'status' ] , 'ruleId' => ( int ) $ dataItem [ 'rule_id' ] , 'type' => $ dataItem [ 'type' ] , 'value' => json_decode ( $ dataItem [ 'value' ] , true ) , ] ) ; } return $ conditions ; }
Maps data from database to condition values.

@return \Netgen\BlockManager\Persistence\Values\LayoutResolver\Condition[]
Maps data from database to condition values .