src/Neutrino/Security/RateLimiter.php
public function availableIn($key, $decaySeconds)
    {
        $time = $this->{Services::CACHE}->get($this->name . $key . $this->klock, $decaySeconds);

        return $time - time();
    }
public function availableIn($key, $decaySeconds)
    {
        $time = $this->{Services::CACHE}->get($this->name . $key . $this->klock, $decaySeconds);

        return $time - time();
    }
Get the number of seconds until the "key" is accessible again.

@param  string $key
@param  int    $decaySeconds

@return int