public function Currency::setSymbol in Commerce Core 8.2
Sets the currency symbol.
Parameters
string $symbol: The currency symbol.
Return value
$this
Overrides CurrencyInterface::setSymbol
File
- modules/
price/ src/ Entity/ Currency.php, line 155
Class
- Currency
- Defines the currency entity class.
Namespace
Drupal\commerce_price\EntityCode
public function setSymbol($symbol) {
$this->symbol = $symbol;
return $this;
}