Skip to content

Commit

Permalink
Update kabanos.php
Browse files Browse the repository at this point in the history
  • Loading branch information
flenczewski committed Jun 10, 2014
1 parent e9dc134 commit b7efea7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions kabanos.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ private static function _getUserFingerprint()
/**
* verification and inc counter
*
* @param string $user - id, name or something else eg, hash
* @param string $type - label of object type limit (eg. "add-post", "get-userInfo" etc)
* @param array $config - eg. array(60 => 5, 300 => 10) // seconds => limitCount
* @return true
*/
public static function check($user = null, $type = null, $config = null)
Expand Down

0 comments on commit b7efea7

Please sign in to comment.