public function getCurrencies()
    {
        if ($this->currencies_cache === null) {
            if (config('app.debug', false) === true) {
                $this->currencies_cache = $this->getDriver()->all();
            }
            else {
                $this->currencies_cache = $this->cache->rememberForever('torann.currency', function () {
                    return $this->getDriver()->all();
                });
            }
        }

        return $this->currencies_cache;
    }
public function getCurrencies()
    {
        if ($this->currencies_cache === null) {
            if (config('app.debug', false) === true) {
                $this->currencies_cache = $this->getDriver()->all();
            }
            else {
                $this->currencies_cache = $this->cache->rememberForever('torann.currency', function () {
                    return $this->getDriver()->all();
                });
            }
        }

        return $this->currencies_cache;
    }
public function getCurrencies ( ) { if ( $ this -> currencies_cache === null ) { if ( config ( 'app.debug' , false ) === true ) { $ this -> currencies_cache = $ this -> getDriver ( ) -> all ( ) ; } else { $ this -> currencies_cache = $ this -> cache -> rememberForever ( 'torann.currency' , function ( ) { return $ this -> getDriver ( ) -> all ( ) ; } ) ; } } return $ this -> currencies_cache ; }
Return all currencies.

@return array
Return all currencies .