philip icon indicating copy to clipboard operation
philip copied to clipboard

Use DI Container

Open epochblue opened this issue 12 years ago • 2 comments

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.

epochblue avatar Feb 02 '13 17:02 epochblue

It should not be to hard to implement Pimple. Do you mind if I give it a try?

frenck avatar Nov 12 '13 21:11 frenck

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.

epochblue avatar Nov 12 '13 21:11 epochblue