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

[Cache] Allow cache tags to be objects implementing __toString()#38221

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
fabpot merged 1 commit intosymfony:4.4fromlstrojny:cache-item-stringable-tags
Sep 17, 2020
Merged

[Cache] Allow cache tags to be objects implementing __toString()#38221

fabpot merged 1 commit intosymfony:4.4fromlstrojny:cache-item-stringable-tags
Sep 17, 2020

Conversation

@lstrojny
Copy link
Contributor

QA
Branch?4.4
Bug fix?maybe
New feature?maybe
Deprecations?no
Tickets
LicenseMIT
Doc PR

\Symfony\Contracts\Cache\CacheInterface::get(string $key, …) implicitly converts objects with__toString whileCacheItem::tag() will throw an exception. That’s a bit of a sharp edge.

@lstrojnylstrojny changed the base branch frommaster to4.4September 17, 2020 09:25
@nicolas-grekasnicolas-grekas added this to the4.4 milestoneSep 17, 2020
@fabpot
Copy link
Member

Thank you@lstrojny.

@fabpotfabpot merged commit7917612 intosymfony:4.4Sep 17, 2020
@lstrojnylstrojny deleted the cache-item-stringable-tags branchSeptember 17, 2020 10:40
This was referencedSep 27, 2020
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@fabpotfabpotfabpot approved these changes

@nicolas-grekasnicolas-grekasnicolas-grekas approved these changes

@xabbuhxabbuhAwaiting requested review from xabbuh

Assignees

No one assigned

Projects

None yet

Milestone

4.4

Development

Successfully merging this pull request may close these issues.

4 participants

@lstrojny@fabpot@nicolas-grekas@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp