protected function registerRateLimiting() { $this->app->singleton('api.limiting', function ($app) { return new RateLimitHandler($app, $app['cache'], $this->config('throttling')); }); }