Adapter/PlentymarketsAdapter/ResponseParser/Product/ProductResponseParser.php
private function getManufacturerIdentifier(array $product)
    {
        $manufacturerIdentity = $this->identityService->findOneOrCreate(
            (string) $product['manufacturerId'],
            PlentymarketsAdapter::NAME,
            Manufacturer::TYPE
        );

        if (null === $manufacturerIdentity) {
            throw new NotFoundException('missing mapping for manufacturer');
        }

        return $manufacturerIdentity->getObjectIdentifier();
    }
private function getManufacturerIdentifier(array $product)
    {
        $manufacturerIdentity = $this->identityService->findOneOrCreate(
            (string) $product['manufacturerId'],
            PlentymarketsAdapter::NAME,
            Manufacturer::TYPE
        );

        if (null === $manufacturerIdentity) {
            throw new NotFoundException('missing mapping for manufacturer');
        }

        return $manufacturerIdentity->getObjectIdentifier();
    }
private function getManufacturerIdentifier ( array $ product ) { $ manufacturerIdentity = $ this -> identityService -> findOneOrCreate ( ( string ) $ product [ 'manufacturerId' ] , PlentymarketsAdapter :: NAME , Manufacturer :: TYPE ) ; if ( null === $ manufacturerIdentity ) { throw new NotFoundException ( 'missing mapping for manufacturer' ) ; } return $ manufacturerIdentity -> getObjectIdentifier ( ) ; }
@param array $product

@return string
@param array $product