protected function createThrottling()
{
$model = $this->config['throttling']['model'];
foreach (['global', 'ip', 'user'] as $type) {
${"{$type}Interval"} = $this->config['throttling'][$type]['interval'];
${"{$type}Thresholds"} = $this->config['throttling'][$type]['thresholds'];
}
return new IlluminateThrottleRepository($model, $globalInterval, $globalThresholds, $ipInterval, $ipThresholds, $userInterval, $userThresholds);
}