Shipment/EventListener/AbstractShipmentListener.php
public function onContentChange(ResourceEventInterface $event)
    {
        $shipment = $this->getShipmentFromEvent($event);

        //$this->invoiceSynchronizer->synchronize($shipment);

        $this->scheduleSaleContentChangeEvent($this->getSaleFromShipment($shipment));
    }
public function onContentChange(ResourceEventInterface $event)
    {
        $shipment = $this->getShipmentFromEvent($event);

        //$this->invoiceSynchronizer->synchronize($shipment);

        $this->scheduleSaleContentChangeEvent($this->getSaleFromShipment($shipment));
    }
public function onContentChange ( ResourceEventInterface $ event ) { $ shipment = $ this -> getShipmentFromEvent ( $ event ) ; //$this->invoiceSynchronizer->synchronize($shipment); $ this -> scheduleSaleContentChangeEvent ( $ this -> getSaleFromShipment ( $ shipment ) ) ; }
Content change event handler.

@param ResourceEventInterface $event
Content change event handler .