-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
[DI] ContainerInterface lacks documentation regarding behavior constants #8759
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
Comments
For reference, uninitialized refs have been introduced in symfony/symfony#24033 Up for a doc PR @kiler129? |
This is an issue for me when i want to inject an optional service via static constructor injection in Drupal. (Not sure if this is the richt component though, maybe it should be filed against DI component.) |
Thank you for this issue. |
Friendly reminder that this issue exists. If I don't hear anything I'll close this. |
Yes, this is still an issue. |
Thank you for this issue. |
Still exists. |
\Symfony\Component\DependencyInjection\ContainerInterface
contains the following constants:The documentation for their usage with
get()
is nowhere to be found. I tried looking for their usage in the Symfony code, but deciphering what they precisely do (and what's the actual intention of using them) is rather hard.Maybe we should document that?
The text was updated successfully, but these errors were encountered: