Inject an instantiated persistence handler.
Hi, the current method of creating a custom persistence handler doest allow the developer access to the constructor or setter methods.
Instead, consider injecting a custom persistence handler. I've done this by adding the custom handler to the config array at run time.
Although better yet would be a setter method.
Hi,
This is exactly the feature I was searching for but couldn't find in the current code. This would allow properly integrating the PHP-SDK into frameworks with Dependency Injection / their own ORM. It's a simple addition to this codebase which would make integrating this library into our own projects so much easier and cleaner.
I hope this feature is merged into this library soon!
Is there any way we can support to get this merged?
Do I need to do anything else here?