public function PackageType::getWidth in Commerce Shipping 8.2
Gets the package type width.
Return value
\Drupal\physical\Length The package type width.
Overrides PackageTypeInterface::getWidth
File
- src/
Plugin/ Commerce/ PackageType/ PackageType.php, line 94
Class
- PackageType
- Defines the class for package types.
Namespace
Drupal\commerce_shipping\Plugin\Commerce\PackageTypeCode
public function getWidth() {
return $this->width;
}