芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/reginaeigbe.com/folder/admin/tmp/vendor/moneyphp/money/src/CurrencyPair.php
counterCurrency; } /** * Returns the base currency. */ public function getBaseCurrency(): Currency { return $this->baseCurrency; } /** * Returns the conversion ratio. * * @psalm-return numeric-string */ public function getConversionRatio(): string { return $this->conversionRatio; } /** * Checks if another CurrencyPair has the same parameters as this. */ public function equals(CurrencyPair $other): bool { return $this->baseCurrency->equals($other->baseCurrency) && $this->counterCurrency->equals($other->counterCurrency) && $this->conversionRatio === $other->conversionRatio; } /** * {@inheritDoc} * * @psalm-return array{baseCurrency: Currency, counterCurrency: Currency, ratio: numeric-string} */ public function jsonSerialize(): array { return [ 'baseCurrency' => $this->baseCurrency, 'counterCurrency' => $this->counterCurrency, 'ratio' => $this->conversionRatio, ]; } }