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

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

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