increment()
increment(string $ip, string $type)
Increment the count for a limit type of a specific IP address
Parameters
string | $ip | IP address |
string | $type | Name of limit type |
check(string $ip, \Spork\Mvc\Listener\Limit\Limit $limit) : boolean
Checks if an IP has reached a limit
string | $ip | IP address |
\Spork\Mvc\Listener\Limit\Limit | $limit |