src/Offer/OfferCommandHandler.php
public function handleUpdateTypicalAgeRange(AbstractUpdateTypicalAgeRange $updateTypicalAgeRange)
    {
        $offer = $this->load($updateTypicalAgeRange->getItemId());

        $offer->updateTypicalAgeRange(
            $updateTypicalAgeRange->getTypicalAgeRange()
        );

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

    }
public function handleUpdateTypicalAgeRange(AbstractUpdateTypicalAgeRange $updateTypicalAgeRange)
    {
        $offer = $this->load($updateTypicalAgeRange->getItemId());

        $offer->updateTypicalAgeRange(
            $updateTypicalAgeRange->getTypicalAgeRange()
        );

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

    }
public function handleUpdateTypicalAgeRange ( AbstractUpdateTypicalAgeRange $ updateTypicalAgeRange ) { $ offer = $ this -> load ( $ updateTypicalAgeRange -> getItemId ( ) ) ; $ offer -> updateTypicalAgeRange ( $ updateTypicalAgeRange -> getTypicalAgeRange ( ) ) ; $ this -> offerRepository -> save ( $ offer ) ; }
Handle the update of typical age range on a place.
@param AbstractUpdateTypicalAgeRange $updateTypicalAgeRange
Handle the update of typical age range on a place .