You are here

public function PackageType::getLength in Commerce Shipping 8.2

Gets the package type length.

Return value

\Drupal\physical\Length The package type length.

Overrides PackageTypeInterface::getLength

File

src/Plugin/Commerce/PackageType/PackageType.php, line 87

Class

PackageType
Defines the class for package types.

Namespace

Drupal\commerce_shipping\Plugin\Commerce\PackageType

Code

public function getLength() {
  return $this->length;
}