protected registerThrottleCheckpoint ( ) : void | ||
return | void |
protected function registerThrottleCheckpoint()
{
$this->registerThrottling();
$this->app->singleton('sentinel.checkpoint.throttle', function ($app) {
return new ThrottleCheckpoint($app['sentinel.throttling'], $app['request']->getClientIp());
});
}