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

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

        return $targets;
    }
public function mapTargets(array $data): array
    {
        $targets = [];

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

        return $targets;
    }
public function mapTargets ( array $ data ) : array { $ targets = [ ] ; foreach ( $ data as $ dataItem ) { $ targets [ ] = Target :: fromArray ( [ 'id' => ( int ) $ dataItem [ 'id' ] , 'status' => ( int ) $ dataItem [ 'status' ] , 'ruleId' => ( int ) $ dataItem [ 'rule_id' ] , 'type' => $ dataItem [ 'type' ] , 'value' => $ dataItem [ 'value' ] , ] ) ; } return $ targets ; }
Maps data from database to target values.

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