protected function loadIpThrottles($ipAddress) { $interval = Carbon::now()->subSeconds($this->ipInterval); return $this->createModel()->newQuery()->where('type', 'ip')->where('ip', $ipAddress)->where('created_at', '>', $interval)->get(); }