/** * {@inheritdoc} */ public function setOrder(OrderInterface $order = null) { $this->order = $order; if (null !== $order) { $this->state = $order->getState(); } }
/** * {@inheritdoc} */ public function setOrder(OrderInterface $order = null) { $this->order = $order; if (null !== $order) { $this->state = $order->getState(); } }