From 443129faa8126bec1545c3dd38b622f86c4ce726 Mon Sep 17 00:00:00 2001 From: Anil Chaudhari Date: Wed, 22 Nov 2017 22:49:00 +0545 Subject: [PATCH] Updated README.md --- Cache/Adapter/AbstractAdapter.php | 1 + Cache/Adapter/CacheAdapterInterface.php | 1 + Cache/Adapter/FileSystem.php | 1 + CurrencyConverterInterface.php | 1 + Exception/ExceptionInterface.php | 1 + Exception/RunTimeException.php | 1 + Provider/ProviderInterface.php | 1 + Provider/YahooApi.php | 1 + README.md | 46 ++++++++++++++++++++++--- composer.json | 3 +- 10 files changed, 50 insertions(+), 7 deletions(-) diff --git a/Cache/Adapter/AbstractAdapter.php b/Cache/Adapter/AbstractAdapter.php index 49d49c3..326abf7 100644 --- a/Cache/Adapter/AbstractAdapter.php +++ b/Cache/Adapter/AbstractAdapter.php @@ -1,4 +1,5 @@ rateProvider) { + $this->setRateProvider(new OpenExchangeRatesApi([ + 'appId' => Yii::$app->params['openExchangeRate']['appId'], + ])); + } + + return $this->rateProvider; + } +} +``` + diff --git a/composer.json b/composer.json index 02ab5d8..6645378 100644 --- a/composer.json +++ b/composer.json @@ -7,7 +7,7 @@ "authors": [ { "name": "Anil Chaudhari", - "email": "caanil90@gmail.com" + "email": "imanilchaudhari@gmail.com" } ], "minimum-stability": "stable", @@ -17,7 +17,6 @@ "url": "https://github.com/imanilchaudhari/yii2-currency-converter.git" } ], - "require": { "php": ">=5.4.0", "yiisoft/yii2": "*"