You are here

public function CurrencyInterface::setSymbol in Commerce Core 8.2

Sets the currency symbol.

Parameters

string $symbol: The currency symbol.

Return value

$this

1 method overrides CurrencyInterface::setSymbol()
Currency::setSymbol in modules/price/src/Entity/Currency.php
Sets the currency symbol.

File

modules/price/src/Entity/CurrencyInterface.php, line 85

Class

CurrencyInterface
Defines the interface for currencies.

Namespace

Drupal\commerce_price\Entity

Code

public function setSymbol($symbol);