Skip to content

Commit

Permalink
Add Redis Method setex & setnx (#85)
Browse files Browse the repository at this point in the history
@method bool setex($key, $ttl, $value)
@method bool setnx($key, $value)
  • Loading branch information
Marico authored and wujunze committed May 30, 2018
1 parent 2d8a0bd commit 0fec662
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Redis.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
/**
* Redis
* key and string
* @method bool setex($key, $ttl, $value)
* @method bool setnx($key, $value)
* @method int append($key, $value)
* @method int decr($key)
* @method int decrBy($key, $value)
Expand Down

0 comments on commit 0fec662

Please sign in to comment.