currency() public method

public currency ( ) : string
return string
示例#1
0
文件: Price.php 项目: dumplie/dumplie
 /**
  * @param Price $price
  *
  * @return bool
  */
 public function hasSameCurrency(Price $price) : bool
 {
     return $price->currency() === $this->currency();
 }