File tree 2 files changed +15
-1
lines changed
2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change 41
41
42
42
'driver ' => 'database ' ,
43
43
44
+ /*
45
+ |--------------------------------------------------------------------------
46
+ | Default Storage Driver
47
+ |--------------------------------------------------------------------------
48
+ |
49
+ | Here you may specify the default cache driver that should be used
50
+ | by the framework.
51
+ |
52
+ | Supported: all cache drivers supported by Laravel
53
+ |
54
+ */
55
+
56
+ 'cache_driver ' => null ,
57
+
44
58
/*
45
59
|--------------------------------------------------------------------------
46
60
| Storage Specific Configuration
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ class Currency
58
58
public function __construct (array $ config , FactoryContract $ cache )
59
59
{
60
60
$ this ->config = $ config ;
61
- $ this ->cache = $ cache ;
61
+ $ this ->cache = $ cache-> store ( $ this -> config ( ' cache_driver ' )) ;
62
62
}
63
63
64
64
/**
You can’t perform that action at this time.
0 commit comments