public function Interval::getUnit in Commerce Core 8.2
Gets the unit.
Return value
string The unit.
File
- src/
Interval.php, line 62
Class
- Interval
- Provides a value object for intervals (1 month, 14 days, etc).
Namespace
Drupal\commerceCode
public function getUnit() : string {
return $this->unit;
}