public function options(): array
    {
        $currencies = $this->provider->config->get('currencies');

        $options = [];

        foreach ($currencies as $key => $currency) {

            $options[] = new Option($key, new $currency);

        }

        return $options;
    }
public function options(): array
    {
        $currencies = $this->provider->config->get('currencies');

        $options = [];

        foreach ($currencies as $key => $currency) {

            $options[] = new Option($key, new $currency);

        }

        return $options;
    }
public function options ( ) : array { $ currencies = $ this -> provider -> config -> get ( 'currencies' ) ; $ options = [ ] ; foreach ( $ currencies as $ key => $ currency ) { $ options [ ] = new Option ( $ key , new $ currency ) ; } return $ options ; }
Get a an array of available currencies.

@return array
Get a an array of available currencies .