You are here

public function FedExEventSubscriber::__construct in Commerce FedEx 8

Constructs a new ShippingMethodBase object.

Parameters

\Drupal\commerce_shipping\PackageTypeManagerInterface $package_type_manager: The package type manager.

File

modules/dry_ice/src/EventSubscriber/FedExEventSubscriber.php, line 32

Class

FedExEventSubscriber
Provides a FedEx event subscriber.

Namespace

Drupal\commerce_fedex_dry_ice\EventSubscriber

Code

public function __construct(PackageTypeManagerInterface $package_type_manager) {
  $this->packageTypeManager = $package_type_manager;
}