You are here

public function Interval::getNumber in Commerce Core 8.2

Gets the number.

Return value

string The number.

File

src/Interval.php, line 52

Class

Interval
Provides a value object for intervals (1 month, 14 days, etc).

Namespace

Drupal\commerce

Code

public function getNumber() : string {
  return $this->number;
}