public function CouponCodePattern::getLength in Commerce Core 8.2
Gets the length.
Return value
int The length.
File
- modules/
promotion/ src/ CouponCodePattern.php, line 107
Class
- CouponCodePattern
- Represents a coupon code pattern.
Namespace
Drupal\commerce_promotionCode
public function getLength() : int {
return $this->length;
}