You are here

public function Currency::getSubunits in Currency 8.3

3 calls to Currency::getSubunits()
Currency::formatAmount in src/Entity/Currency.php
Format an amount using this currency and the environment's default currency locale. pattern.
Currency::getDecimals in src/Entity/Currency.php
Currency::getRoundingStep in src/Entity/Currency.php

File

src/Entity/Currency.php, line 254

Class

Currency
Defines a currency entity class.

Namespace

Drupal\currency\Entity

Code

public function getSubunits() {
  return $this->subunits;
}