philip
philip copied to clipboard
Use DI Container
Using a DI container inside the Philip engine could be a good way to share resources between plugins (such as configuration or persistent storage). I'm considering composing Pimple and passing all getters through Pimple.
It should not be to hard to implement Pimple. Do you mind if I give it a try?
I agree that it shouldn't be difficult - especially if it's just composed in (which is what I was going to do) - this issue was here as a placeholder so I didn't forget about it. If you'd like to give it a shot, please have at it.