public function getCurrencies()
    {
        if ($this->currenciesCache === null) {
            if (config('app.debug', FALSE) === TRUE) {
                $this->currenciesCache = $this->getDriver()->all();
            }
            else {
                $this->currenciesCache = $this->cache->rememberForever('igniter.currency', function () {
                    return $this->getDriver()->all();
                });
            }
        }

        return $this->currenciesCache;
    }
public function getCurrencies()
    {
        if ($this->currenciesCache === null) {
            if (config('app.debug', FALSE) === TRUE) {
                $this->currenciesCache = $this->getDriver()->all();
            }
            else {
                $this->currenciesCache = $this->cache->rememberForever('igniter.currency', function () {
                    return $this->getDriver()->all();
                });
            }
        }

        return $this->currenciesCache;
    }
public function getCurrencies ( ) { if ( $ this -> currenciesCache === null ) { if ( config ( 'app.debug' , FALSE ) === TRUE ) { $ this -> currenciesCache = $ this -> getDriver ( ) -> all ( ) ; } else { $ this -> currenciesCache = $ this -> cache -> rememberForever ( 'igniter.currency' , function ( ) { return $ this -> getDriver ( ) -> all ( ) ; } ) ; } } return $ this -> currenciesCache ; }
Return all currencies.

@return array
Return all currencies .