Open fesor opened 7 years ago
@schnipseljagd @bracki guys, what do you think on this?
I'd prefer to refactor the class so that it takes either a Redis or a Predis $connection
, rather than duplicating everything. @fesor what's your take on that?
Will try to do that.
@bracki so, I need this again so I finally managed to work on this PR.
I added additional abstraction which hides difference between redis and predis without sacrifice lazy connection in case of redis.
I really not sure it is ok or not.
@fesor Would you mind rebasing? Did you also take into account #27?
@bracki as for #27, yes and no. You can pass redis instance but adapter still will handle connection and will require connection options.
I need to check is this covers #27 fully.
Willl rebase this PR asap.
What is status of this pr?
Is there anything I could help with this PR to get merged? This would be a really nice feature :(
This project is dead, but I'm maintaining it under my employer - https://github.com/endclothing/prometheus_client_php. Feel free to submit the PR there.
For #52