Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove dependency on Pimple. #29

Merged
merged 1 commit into from Apr 9, 2014
Merged

Conversation

bobthecow
Copy link
Owner

Pimple 2.x has changed to shared-services-by-default, a decision that’s awesome for a DIC, but not as awesome for a general purpose lazy value bucket like we’re using Pimple for. Since this will likely cause problems with apps which use both Ruler and Pimple, I have removed the Pimple dependency and implemented the Pimple 1.x API directly on Context — using Pimple 2.x-flavored code :)

The extend() method has not been ported to Context, as that seems like a side effect of using a DIC as a base class, more than an explicit feature for the Context. But I’m happy to be proven wrong if someone really needs it.

cc: @jwage @ludicruz Thoughts?

Pimple 2.x has changed to shared-services-by-default, a decision that’s awesome for a DIC, but not as awesome for a general purpose lazy value bucket like we’re using Pimple for. Since this will likely cause problems with apps which use both Ruler and Pimple, I have removed the Pimple dependency and implemented the Pimple 1.x API directly on Context — using Pimple 2.x-flavored code :)

The extend() method has not been ported to Context, as that seems like a side effect of using a DIC as a base class, more than an explicit feature for the Context. But I’m happy to be proven wrong if someone really needs it.
bobthecow added a commit that referenced this pull request Apr 9, 2014
@bobthecow bobthecow merged commit 5a277bc into develop Apr 9, 2014
@bobthecow bobthecow deleted the feature/remove-pimple-dependency branch June 27, 2014 19:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant