BedrockStreaming / RedisMock

A simple PHP Redis mock
http://tech.m6web.fr/redismock-qui-a-bouchonne-mon-redis.html
MIT License
81 stars 60 forks source link

Update SET to take timeout or options array #67

Closed gm-ghanover closed 5 years ago

gm-ghanover commented 6 years ago

Per phpredis documentation: Timeout or Options Array (optional). If you pass an integer, phpredis will redirect to SETEX, and will try to use Redis >= 2.6.12 extended options if you pass an array with valid values

https://github.com/phpredis/phpredis/#set

omansour commented 5 years ago

@gm-ghanover possible to rebase the master on this PR ?

omansour commented 5 years ago

v4.6.0