Adapter/ShopwareAdapter/ServiceBus/CommandHandler/Order/HandleOrderCommandHandler.php
private function getPackage(Order $order)
    {
        $packages = $order->getPackages();

        if (empty($packages)) {
            return null;
        }

        return array_shift($packages);
    }
private function getPackage(Order $order)
    {
        $packages = $order->getPackages();

        if (empty($packages)) {
            return null;
        }

        return array_shift($packages);
    }
@param Order $order

@return null|Package