File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## 0.2.0 - 2020-11-19
4+
5+ ### Changed
6+ - Register ` DutchCodingCompany\CachedValuestore\CachedValuestore ` as singleton instead of ` Spatie\Valuestore\Valuestore `
7+
38## 0.1.1 - 2020-11-16
49
510### Added
Original file line number Diff line number Diff line change 22
33namespace DutchCodingCompany \CachedValuestore ;
44
5- use Spatie \Valuestore \Valuestore ;
65use Illuminate \Contracts \Foundation \Application ;
76use Illuminate \Support \ServiceProvider as BaseServiceProvider ;
87
98class ServiceProvider extends BaseServiceProvider
109{
1110 public function boot ()
1211 {
13- $ this ->app ->singleton (Valuestore ::class, static function (Application $ app ) {
12+ $ this ->app ->singleton (CachedValuestore ::class, static function (Application $ app ) {
1413 return CachedValuestore::make (CachedValuestore::$ cachedFileName ?? $ app ->storagePath ().DIRECTORY_SEPARATOR .'app ' .DIRECTORY_SEPARATOR .'settings.json ' );
1514 });
1615 }
You can’t perform that action at this time.
0 commit comments