Class CurrencyCollection
A currency collection.
<?php $collection = new CurrencyCollection($repository); isset($collection['EUR']); // true isset($collection['USD']); // true isset($collection['ABC']); // false echo get_class($collection['EUR']); // ICanBoogie\CLDR\Currency echo $collection['EUR']->code; // EUR
- ICanBoogie\CLDR\CurrencyCollection implements ArrayAccess uses ICanBoogie\Accessor\AccessorTrait (not available) ICanBoogie\CLDR\RepositoryPropertyTrait, ICanBoogie\CLDR\CollectionTrait
Methods summary
Methods inherited from ArrayAccess
offsetSet()
,
offsetUnset()