Skip to content

Commit

Permalink
Added Predis storage (#30)
Browse files Browse the repository at this point in the history
* Added Predis storage

* Only decoding predis result if not empty

* Returning false when result is empty

* Using null TTL for predis when given ttl is empty

* Predis cant handle empty ttls so need to handle that case separately

* Handling objects in predis storage
  • Loading branch information
emulgeator authored Jan 22, 2019
1 parent ac063e1 commit 9845890
Show file tree
Hide file tree
Showing 4 changed files with 782 additions and 246 deletions.
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"szeber/yapep_base": "0.3.x-dev",
"php": ">=7.1",
"nesbot/carbon": "^1.21",
"psr/log": "^1.0.0"
"psr/log": "^1.0.0",
"predis/predis": "^1.1"
},
"autoload": {
"psr-4": {
Expand Down
Loading

0 comments on commit 9845890

Please sign in to comment.