You are here

public function Package::setLength in Ubercart 8.4

Sets the package length.

Parameters

float $length: The package length.

Return value

$this

Overrides PackageInterface::setLength

File

shipping/uc_fulfillment/src/Package.php, line 223

Class

Package
Defines the Package class.

Namespace

Drupal\uc_fulfillment

Code

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