-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[DependencyInjection] add $lazyLoad context to the generated code for lazy non-shared service by PhpDumper #30093
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
Conversation
e4edd27
to
52de12e
Compare
Nice. Could you please add a test case with a fixture in |
Please rebase for 4.2 also as 4.1 is EOLed. |
I'll add it |
37917d9
to
5c84edf
Compare
src/Symfony/Component/DependencyInjection/Tests/Dumper/PhpDumperTest.php
Outdated
Show resolved
Hide resolved
98575cc
to
a16f92d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
small tweak
...mfony/Component/DependencyInjection/Tests/Fixtures/php/services_non_shared_lazy_as_files.txt
Outdated
Show resolved
Hide resolved
...mfony/Component/DependencyInjection/Tests/Fixtures/php/services_non_shared_lazy_as_files.txt
Show resolved
Hide resolved
Another tweak: in PhpDumper on L690: |
c156d03
to
df8dd1d
Compare
…erated factory code for lazy non-shared services | Q | A | ------------- | --- | Branch? | 4.1 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | symfony#29930 | License | MIT | Doc PR | n/a Fix symfony#29930 by adding $lazyLoad context to the generated code for lazy non-shared service by PhpDumper
df8dd1d
to
98d4dfd
Compare
Thank you @XuruDragon. |
…ed code for lazy non-shared service by PhpDumper (XuruDragon) This PR was merged into the 4.2 branch. Discussion ---------- [DependencyInjection] add $lazyLoad context to the generated code for lazy non-shared service by PhpDumper | Q | A | ------------- | --- | Branch? | 4.1 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #29930 | License | MIT | Doc PR | n/a Fix #29930 by adding $lazyLoad context to the generated code for lazy non-shared service by PhpDumper Commits ------- 98d4dfd [DependencyInjection] fix #29930 add $lazyLoad flag to the generated factory code for lazy non-shared services
Fix #29930 by adding $lazyLoad context to the generated code for lazy non-shared service by PhpDumper