# give/4.18.0/vendor/moneyphp/money/src/Currencies.php

GiveWP – Donation Plugin and Fundraising Platform, version 4.18.0. 30 lines.

- Page: https://pluginprobe.com/plugins/give/4.18.0/code/vendor/moneyphp/money/src/Currencies.php
- Raw: https://pluginprobe.com/plugins/give/4.18.0/raw/vendor/moneyphp/money/src/Currencies.php
- Modified: 2025-03-31T19:17:16+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/give/4.18.0/code/vendor/moneyphp/money/src/Currencies.php#L10-L20`.

```php
<?php

namespace Money;

use Money\Exception\UnknownCurrencyException;

/**
 * Implement this to provide a list of currencies.
 *
 * @author Mathias Verraes
 */
interface Currencies extends \IteratorAggregate
{
    /**
     * Checks whether a currency is available in the current context.
     *
     * @return bool
     */
    public function contains(Currency $currency);

    /**
     * Returns the subunit for a currency.
     *
     * @return int
     *
     * @throws UnknownCurrencyException If currency is not available in the current context
     */
    public function subunitFor(Currency $currency);
}

```
