Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[FrameworkBundle] Fix session.attribute_bag service definition#36506

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

Merged

Conversation

@fancyweb
Copy link
Contributor

QA
Branch?3.4
Bug fix?yes
New feature?no
Deprecations?no
Tickets#36465
LicenseMIT
Doc PR-

It looks like in#36063, the fact the thegetAttributeBag method is private was forgotten. It cannot be used as the factory method. I guess we can make it public. Should it maybe marked@internal?

@nicolas-grekas
Copy link
Member

I'd suggest changing the factory method: it should begetBag('attributes') instead.

@fancyweb
Copy link
ContributorAuthor

I thought about this but$this->attributeName is dynamic. We don't care?

@nicolas-grekas
Copy link
Member

It's not dynamic in the context of wiring.

@nicolas-grekasnicolas-grekas added this to the3.4 milestoneApr 20, 2020
@fancywebfancywebforce-pushed thesession-get-attribute-bag branch 2 times, most recently from05220fa to293d4e4CompareApril 20, 2020 16:39
@fancywebfancyweb changed the title[Session] Make the getAttributeBag method public[FrameworkBundle] Fix session.attribute_bag service definitionApr 20, 2020
@fancywebfancywebforce-pushed thesession-get-attribute-bag branch from293d4e4 to76072c6CompareApril 20, 2020 16:43
@nicolas-grekas
Copy link
Member

Thank you@fancyweb.

@nicolas-grekasnicolas-grekas merged commit6642f09 intosymfony:3.4Apr 21, 2020
@fancywebfancyweb deleted the session-get-attribute-bag branchApril 22, 2020 06:59
This was referencedApr 28, 2020
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@nicolas-grekasnicolas-grekasnicolas-grekas approved these changes

@xabbuhxabbuhxabbuh approved these changes

+1 more reviewer

@smithandresmithandresmithandre approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

3.4

Development

Successfully merging this pull request may close these issues.

5 participants

@fancyweb@nicolas-grekas@smithandre@xabbuh@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp