Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.6k
[FrameworkBundle] Deprecate flashbag and attributebag services#36273
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
[FrameworkBundle] Deprecate flashbag and attributebag services#36273
Uh oh!
There was an error while loading.Please reload this page.
Conversation
63fef32
to2e4bc95
Compare
nicolas-grekas left a comment• edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
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.
Thanks, just minor comments on my side.
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.
Uh oh!
There was an error while loading.Please reload this page.
f35df01
to4baed97
Comparerebased to resolve conflicts |
nicolas-grekas commentedMar 31, 2020 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Actually, please rebase again to account for#35778, thanks :) |
@nicolas-grekas rebased and now using new deprecated attributes. Nice feature@atailouloute |
Thank you@warslett. |
298452a
tof9b52fe
CompareI agree that this shouldn't be injected, however i'm running into an issue with this deprecation, namely: The Maybe this method should be added to the interface? |
FlashBag and AttributeBag are data objects and so should not be available via the service container. The preferred method for accessing these objects is via
$session->getFlashBag()
or$session->getAttributeBag()