You are here

public function PackerManagerInterface::addPacker in Commerce Shipping 8.2

Adds a packer.

Parameters

\Drupal\commerce_shipping\Packer\PackerInterface $packer: The packer.

1 method overrides PackerManagerInterface::addPacker()
PackerManager::addPacker in src/PackerManager.php
Adds a packer.

File

src/PackerManagerInterface.php, line 23

Class

PackerManagerInterface
Runs the added packers one by one until one of them returns a result.

Namespace

Drupal\commerce_shipping

Code

public function addPacker(PackerInterface $packer);