| 1 | <?php |
||
| 8 | class CurrenciesRepository implements CurrenciesRepositoryContract |
||
| 9 | { |
||
| 10 | /** @var array */ |
||
| 11 | private $currencies; |
||
| 12 | |||
| 13 | public function __construct(array $currencies) |
||
| 19 | |||
| 20 | public function get(string $currency): ?Currency |
||
| 28 | |||
| 29 | public function append(Currency $currency): void |
||
| 33 | |||
| 34 | public function has(string $currency): bool |
||
| 38 | } |
||
| 39 |