You are here

public function USPSShipmentBase::__construct in Commerce USPS 8

USPSShipmentBase constructor.

Parameters

\Symfony\Component\EventDispatcher\EventDispatcherInterface $event_dispatcher: The event dispatcher.

File

src/USPSShipmentBase.php, line 52

Class

USPSShipmentBase
Class that sets the shipment details needed for the USPS request.

Namespace

Drupal\commerce_usps

Code

public function __construct(EventDispatcherInterface $event_dispatcher) {
  $this->eventDispatcher = $event_dispatcher;
}