File tree Expand file tree Collapse file tree 2 files changed +3
-9
lines changed Expand file tree Collapse file tree 2 files changed +3
-9
lines changed Original file line number Diff line number Diff line change 15
15
*/
16
16
'cache_profile ' => \Foxws \UserCache \CacheProfiles \CacheAllSuccessful::class,
17
17
18
- /*
19
- * This setting determines if the cache time should be added to a cached response.
20
- * This can be handy when debugging.
21
- */
22
- 'add_cache_time_key ' => env ('APP_DEBUG ' , false ),
23
-
24
18
/*
25
19
* This must be the name of any store that is configured in config/cache.php.
26
20
*/
27
- 'cache_store ' => env ('USER_CACHE_STORE ' ) ?: env ('CACHE_STORE ' , 'redis ' ),
21
+ 'cache_store ' => env ('USER_CACHE_STORE ' ) ?: env ('CACHE_STORE ' , 'database ' ),
28
22
29
23
/*
30
24
* Default time-to-live for cache items in seconds.
Original file line number Diff line number Diff line change 4
4
5
5
use Foxws \UserCache \CacheProfiles \CacheProfile ;
6
6
use Foxws \UserCache \Commands \ClearCommand ;
7
- use Foxws \UserCache \Hasher \EloquentHasher ;
7
+ use Foxws \UserCache \Hasher \CacheHasher ;
8
8
use Foxws \UserCache \Serializers \Serializer ;
9
9
use Illuminate \Cache \Repository ;
10
10
use Illuminate \Container \Container ;
@@ -29,7 +29,7 @@ public function packageBooted()
29
29
return $ app ->make (config ('usercache.cache_profile ' ));
30
30
});
31
31
32
- $ this ->app ->bind (EloquentHasher ::class, function (Container $ app ) {
32
+ $ this ->app ->bind (CacheHasher ::class, function (Container $ app ) {
33
33
return $ app ->make (config ('usercache.hasher ' ));
34
34
});
35
35
You can’t perform that action at this time.
0 commit comments