Adapter/PlentymarketsAdapter/ResponseParser/Unit/UnitResponseParser.php
public function parse(array $entry)
    {
        $identity = $this->identityService->findOneOrCreate(
            (string) $entry['id'],
            PlentymarketsAdapter::NAME,
            Unit::TYPE
        );

        // use first unit name as name
        $name = implode(' / ', array_column($entry['names'], 'name'));

        return Unit::fromArray([
            'identifier' => $identity->getObjectIdentifier(),
            'name' => $name,
        ]);
    }
public function parse(array $entry)
    {
        $identity = $this->identityService->findOneOrCreate(
            (string) $entry['id'],
            PlentymarketsAdapter::NAME,
            Unit::TYPE
        );

        // use first unit name as name
        $name = implode(' / ', array_column($entry['names'], 'name'));

        return Unit::fromArray([
            'identifier' => $identity->getObjectIdentifier(),
            'name' => $name,
        ]);
    }
{@inheritdoc}