Problem/Motivation
There is currently no easy way to register additional objects implementing SessionBagInerface on the session.
Proposed resolution
- Choose a container tag for session attribute bags. E.g.,
session_bag - Add
service_collectortag to thesessionservice definition - Add tests for custom session bags
Remaining tasks
Implement- Review
- Commit
User interface changes
None.
API changes
None.
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | 3108967-9.patch | 9.88 KB | andypost |
| #9 | interdiff.txt | 3.44 KB | andypost |
| #8 | interdiff-8.txt | 885 bytes | znerol |
| #8 | 3108967-8.diff | 9.56 KB | znerol |
| #7 | 3108967-7.patch | 9.86 KB | alexpott |
Comments
Comment #2
znerol commentedComment #3
znerol commentedComment #4
andypostIt looks great, except CR I'd say RTBC
Comment #5
znerol commentedRight. CR draft is here.
Comment #6
andypostI think it really for commitrer's eyes
Comment #7
alexpottThis looks like a really great addition.
I think the only thing that is missing is documentation in the session section of core/core.api.php - I've added most of the CR to the docs but I think the last part
could do with some work. It feels a bit obscure and not prescriptive enough.
There's a couple of coding standards to be fixed too...
I've done that.
Comment #8
znerol commentedWe already have the following in the overview section:
Thus let's just reference that section from the note:
Comment #9
andypostBit more clean-up for CS
Comment #10
znerol commentedOnly changes since last RTBC was docs. Back to committers.
Comment #11
alexpottCommitted and pushed d1daa7e to 9.0.x and 9151160391 to 8.9.x. Thanks!