public function update(CouponCreateOrUpdateEvent $event, $eventName, EventDispatcherInterface $dispatcher)
    {
        $coupon = $event->getCouponModel();

        $this->createOrUpdate($coupon, $event, $dispatcher);
    }
public function update(CouponCreateOrUpdateEvent $event, $eventName, EventDispatcherInterface $dispatcher)
    {
        $coupon = $event->getCouponModel();

        $this->createOrUpdate($coupon, $event, $dispatcher);
    }
public function update ( CouponCreateOrUpdateEvent $ event , $ eventName , EventDispatcherInterface $ dispatcher ) { $ coupon = $ event -> getCouponModel ( ) ; $ this -> createOrUpdate ( $ coupon , $ event , $ dispatcher ) ; }
Occurring when a Coupon is about to be updated

@param CouponCreateOrUpdateEvent $event Event creation or update Coupon
@param $eventName
@param EventDispatcherInterface $dispatcher
Occurring when a Coupon is about to be updated