Cartalyst\Sentinel\Throttling\IlluminateThrottleRepository::loadIpThrottles PHP Метод

loadIpThrottles() защищенный Метод

Loads and returns the IP address throttles collection.
protected loadIpThrottles ( string $ipAddress ) : Illuminate\Database\Eloquent\Collection
$ipAddress string
Результат Illuminate\Database\Eloquent\Collection
    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();
    }