public function createNew()
    {
        /** @var \Ekyna\Component\Commerce\Shipment\Model\ShipmentMethodInterface $method */
        $method = parent::createNew();

        foreach (ShipmentStates::getNotifiableStates() as $state) {
            $message = new ShipmentMessage();
            $method->addMessage($message->setState($state));
        }

        return $method;
    }
public function createNew()
    {
        /** @var \Ekyna\Component\Commerce\Shipment\Model\ShipmentMethodInterface $method */
        $method = parent::createNew();

        foreach (ShipmentStates::getNotifiableStates() as $state) {
            $message = new ShipmentMessage();
            $method->addMessage($message->setState($state));
        }

        return $method;
    }
{@inheritdoc}