src/Offer/Offer.php
public function updateContactPoint(ContactPoint $contactPoint)
    {
        if (is_null($this->contactPoint) || !$this->contactPoint->sameAs($contactPoint)) {
            $this->apply(
                $this->createContactPointUpdatedEvent($contactPoint)
            );
        }
    }
public function updateContactPoint(ContactPoint $contactPoint)
    {
        if (is_null($this->contactPoint) || !$this->contactPoint->sameAs($contactPoint)) {
            $this->apply(
                $this->createContactPointUpdatedEvent($contactPoint)
            );
        }
    }
public function updateContactPoint ( ContactPoint $ contactPoint ) { if ( is_null ( $ this -> contactPoint ) || ! $ this -> contactPoint -> sameAs ( $ contactPoint ) ) { $ this -> apply ( $ this -> createContactPointUpdatedEvent ( $ contactPoint ) ) ; } }
Updated the contact info.
@param ContactPoint $contactPoint
Updated the contact info .