Order/EventListener/OrderListener.php
protected function handleInsert(SaleInterface $sale)
    {
        $changed = $this->fixCustomers($sale);

        $changed |= $this->setIsFirst($sale);

        $changed |= parent::handleInsert($sale);

        $changed |= $this->updateExchangeRate($sale);

        $changed |= $this->updateLocale($sale);

        return $changed;
    }
protected function handleInsert(SaleInterface $sale)
    {
        $changed = $this->fixCustomers($sale);

        $changed |= $this->setIsFirst($sale);

        $changed |= parent::handleInsert($sale);

        $changed |= $this->updateExchangeRate($sale);

        $changed |= $this->updateLocale($sale);

        return $changed;
    }
@inheritDoc

@param OrderInterface $sale