Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork5.3k
[DependencyInjection] Document Container invalid behavior#17903
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
[DependencyInjection] Document Container invalid behavior#17903
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
a8b45ad to6f1a620Comparejaviereguiluz commentedFeb 15, 2023
Antoine, thanks a lot for taking care of solving this issue (which was first reported in 2017!!). While merging I tweak some things (fd9b155) (change the heading to be consistent with the kind of headings we use in docs; wrap long lines and reorder the options) but your original contribution was great. Thanks. |
…INVALID_REFERENCE` behavior (alamirault)This PR was merged into the 5.4 branch.Discussion----------[DependencyInjection] Add doc for `RUNTIME_EXCEPTION_ON_INVALID_REFERENCE` behavior| Q | A| ------------- | ---| Branch? | 5.4| Bug fix? | no| New feature? | no <!-- please update src/**/CHANGELOG.md files -->| Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->| Tickets | Fix #... <!-- prefix each issue number with "Fix #", no need to create an issue if none exists, explain below instead -->| License | MIT| Doc PR | symfony/symfony-docs#... <!-- required for new features -->While working on documentation of container behaviorssymfony/symfony-docs#17903, I saw `RUNTIME_EXCEPTION_ON_INVALID_REFERENCE` was not documentedCommits-------308e59e [DependencyInjection] Add doc for RUNTIME_EXCEPTION_ON_INVALID_REFERENCE behavior
Uh oh!
There was an error while loading.Please reload this page.
Tryfix#8759
Explanations come from repository
https://github.com/symfony/symfony/blob/8cf5f021fae00975c67a3a50806edbef8bab973b/src/Symfony/Component/DependencyInjection/Container.php#L34-L44
(I will make a PR on symfony to document
RUNTIME_EXCEPTION_ON_INVALID_REFERENCEwhen I will unterstand it)