src/Offer/Offer.php
public function updateBookingInfo(BookingInfo $bookingInfo)
    {
        if (is_null($this->bookingInfo) || !$this->bookingInfo->sameAs($bookingInfo)) {
            $this->apply(
                $this->createBookingInfoUpdatedEvent($bookingInfo)
            );
        }
    }
public function updateBookingInfo(BookingInfo $bookingInfo)
    {
        if (is_null($this->bookingInfo) || !$this->bookingInfo->sameAs($bookingInfo)) {
            $this->apply(
                $this->createBookingInfoUpdatedEvent($bookingInfo)
            );
        }
    }
public function updateBookingInfo ( BookingInfo $ bookingInfo ) { if ( is_null ( $ this -> bookingInfo ) || ! $ this -> bookingInfo -> sameAs ( $ bookingInfo ) ) { $ this -> apply ( $ this -> createBookingInfoUpdatedEvent ( $ bookingInfo ) ) ; } }
Updated the booking info.

@param BookingInfo $bookingInfo
Updated the booking info .