commerce_shipping-8.x-2.0-rc2/src/ShipmentStorage.php
src/ShipmentStorage.php
<?php
namespace Drupal\commerce_shipping;
use Drupal\commerce\CommerceContentEntityStorage;
use Drupal\commerce_order\Entity\OrderInterface;
class ShipmentStorage extends CommerceContentEntityStorage implements ShipmentStorageInterface {
/**
* {@inheritdoc}
*/
public function loadMultipleByOrder(OrderInterface $order) {
return $this->loadByProperties(['order_id' => $order->id()]);
}
}
