Support/EventListener/TicketMessageEventListener.php
public function onInsert(ResourceEventInterface $event)
    {
        $message = $this->getMessageFromEvent($event);

        $this->updateTicket($message);
    }
public function onInsert(ResourceEventInterface $event)
    {
        $message = $this->getMessageFromEvent($event);

        $this->updateTicket($message);
    }
Insert event handler.

@param ResourceEventInterface $event