Ejemplo n.º 1
0
 /**
  * {@inheritdoc}
  */
 public function process(OrderInterface $order)
 {
     if ($order->getShippingState() === ShipmentInterface::STATE_SHIPPED && !$order->isTrackingMail()) {
         $this->trackingMailer->sendMail($order);
         $order->setTrackingMail(true);
     }
 }