You are here

public function CommerceFedExPacker::__construct in Commerce FedEx 8

Constructs a new DefaultPacker object.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.

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

Overrides DefaultPacker::__construct

File

src/Packer/CommerceFedExPacker.php, line 44

Class

CommerceFedExPacker
Defines a shipment packer for FedEx.

Namespace

Drupal\commerce_fedex\Packer

Code

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