Support/EventListener/TicketEventListener.php
public function onUpdate(ResourceEventInterface $event)
    {
        $ticket = $this->getTicketFromEvent($event);

        if ($this->handleUpdate($ticket)) {
            $this->persistenceHelper->persistAndRecompute($ticket, false);
        }
    }
public function onUpdate(ResourceEventInterface $event)
    {
        $ticket = $this->getTicketFromEvent($event);

        if ($this->handleUpdate($ticket)) {
            $this->persistenceHelper->persistAndRecompute($ticket, false);
        }
    }
public function onUpdate ( ResourceEventInterface $ event ) { $ ticket = $ this -> getTicketFromEvent ( $ event ) ; if ( $ this -> handleUpdate ( $ ticket ) ) { $ this -> persistenceHelper -> persistAndRecompute ( $ ticket , false ) ; } }
Update event handler.

@param ResourceEventInterface $event
Update event handler .