-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Container interface (PSR-11) #12295
Comments
How would this be implemented? Create similar container interface or would Phalcon somehow import/reference Psr* packages? |
I need to research best way |
@virgofx the same question is for psr request i guess |
I personally find this PSR a bit vague (it only has two methods) so I don't think it's absolutely essential that Phalcon should actually implement the interface. I think just following the spec should be enough. Two things I'd like to recommend:
|
Thank you for contributing to this issue. As it has been 90 days since the last activity, we are automatically closing the issue. This is often because the request was already solved in some way and it just wasn't updated or it's no longer applicable. If that's not the case, please feel free to either reopen this issue or open a new one. We will be more than happy to look at it again! You can read more here: https://blog.phalconphp.com/post/github-closing-old-issues |
@dragoonis Just assigned to you. |
would likely be easiest for users if phalcon would just contain the psr-interfaces - having a similar one is not really going to help out much, since their implementations and the interfaces themselves would not be easily exchangeable. Edit: there seems to be an extension that'd also provide them, so maybe depend on that? https://github.com/jbboehr/php-psr |
This comment was marked as abuse.
This comment was marked as abuse.
@Idrinth That is the package we are using for the interfaces (v4) |
Implemented |
Phalcon's DI must be fully compatible with Container interface (PSR-11) for v4.0.0
Refs:
The text was updated successfully, but these errors were encountered: