/** * {@inheritdoc} */ public function equals(CurrencyInterface $currency) { return $this->getCode() == $currency->getCode(); }