We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 89c6d69 + 450a952 commit 83be17aCopy full SHA for 83be17a
src/Lodash/Cache/CacheServiceProvider.php
@@ -5,6 +5,7 @@
5
namespace Longman\LaravelLodash\Cache;
6
7
use Illuminate\Cache\MemcachedConnector;
8
+use Illuminate\Cache\RateLimiter;
9
use Illuminate\Support\ServiceProvider;
10
11
class CacheServiceProvider extends ServiceProvider
@@ -34,6 +35,8 @@ public function register(): void
34
35
$this->app->singleton('memcached.connector', static function () {
36
return new MemcachedConnector();
37
});
38
+
39
+ $this->app->singleton(RateLimiter::class);
40
}
41
42
/**
@@ -47,6 +50,7 @@ public function provides()
47
50
'cache',
48
51
'cache.store',
49
52
'memcached.connector',
53
+ RateLimiter::class,
54
];
55
56
0 commit comments