src/Offer/OfferCommandHandler.php
public function handleUpdateContactPoint(AbstractUpdateContactPoint $updateContactPoint)
    {
        $offer = $this->load($updateContactPoint->getItemId());

        $offer->updateContactPoint(
            $updateContactPoint->getContactPoint()
        );

        $this->offerRepository->save($offer);

    }
public function handleUpdateContactPoint(AbstractUpdateContactPoint $updateContactPoint)
    {
        $offer = $this->load($updateContactPoint->getItemId());

        $offer->updateContactPoint(
            $updateContactPoint->getContactPoint()
        );

        $this->offerRepository->save($offer);

    }
public function handleUpdateContactPoint ( AbstractUpdateContactPoint $ updateContactPoint ) { $ offer = $ this -> load ( $ updateContactPoint -> getItemId ( ) ) ; $ offer -> updateContactPoint ( $ updateContactPoint -> getContactPoint ( ) ) ; $ this -> offerRepository -> save ( $ offer ) ; }
Handle an update command to updated the contact point.
@param AbstractUpdateContactPoint $updateContactPoint
Handle an update command to updated the contact point .