src/Offer/OfferCommandHandler.php
public function handleDeleteTypicalAgeRange(AbstractDeleteTypicalAgeRange $deleteTypicalAgeRange)
    {
        $offer = $this->load($deleteTypicalAgeRange->getItemId());

        $offer->deleteTypicalAgeRange();

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

    }
public function handleDeleteTypicalAgeRange(AbstractDeleteTypicalAgeRange $deleteTypicalAgeRange)
    {
        $offer = $this->load($deleteTypicalAgeRange->getItemId());

        $offer->deleteTypicalAgeRange();

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

    }
public function handleDeleteTypicalAgeRange ( AbstractDeleteTypicalAgeRange $ deleteTypicalAgeRange ) { $ offer = $ this -> load ( $ deleteTypicalAgeRange -> getItemId ( ) ) ; $ offer -> deleteTypicalAgeRange ( ) ; $ this -> offerRepository -> save ( $ offer ) ; }
Handle the deletion of typical age range on a place.
@param AbstractDeleteTypicalAgeRange $deleteTypicalAgeRange
Handle the deletion of typical age range on a place .