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

public currency ( ) : string
Результат string
Пример #1
0
 /**
  * @param Price $price
  *
  * @return bool
  */
 public function hasSameCurrency(Price $price) : bool
 {
     return $price->currency() === $this->currency();
 }