Dumplie\SharedKernel\Domain\Money\Price::hasCurrency PHP Метод

hasCurrency() публичный Метод

public hasCurrency ( string $currency ) : boolean
$currency string
Результат boolean
    public function hasCurrency(string $currency) : bool
    {
        return $this->currency() === mb_strtoupper($currency);
    }