-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Cache] leverage Contracts\Cache #28097
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
aea99b7
to
129981a
Compare
129981a
to
b2c407b
Compare
b2c407b
to
8dbcf87
Compare
8dbcf87
to
6d5b78b
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.
This needs to be updated
@@ -149,6 +149,9 @@ | |||
<service id="Psr\Cache\CacheItemPoolInterface" alias="cache.app" /> | |||
<service id="Psr\SimpleCache\CacheInterface" alias="cache.app.simple" /> | |||
<service id="Symfony\Component\Cache\Adapter\AdapterInterface" alias="cache.app" /> | |||
<service id="Symfony\Component\Cache\CacheInterface" alias="cache.app.taggable" /> | |||
<service id="Symfony\Contracts\Cache\CacheInterface" alias="cache.app" /> | |||
<service id="Symfony\Contracts\Cache\ExtendedCacheInterface" alias="cache.app" /> |
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.
Please remove this line.
<service id="Symfony\Contracts\Cache\CacheInterface" alias="cache.app" /> | ||
<service id="Symfony\Contracts\Cache\ExtendedCacheInterface" alias="cache.app" /> | ||
<service id="Symfony\Contracts\Cache\TagAwareCacheInterface" alias="cache.app.taggable" /> | ||
<service id="Symfony\Contracts\Cache\ExtendedTagAwareCacheInterface" alias="cache.app.taggable" /> |
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.
It should be TagAwareCacheInterface
6d5b78b
to
4dd84ef
Compare
thanks fixed |
3e1041f
to
8737949
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.
Thank you. 👍
* | ||
* @author Nicolas Grekas <p@tchwork.com> | ||
*/ | ||
interface CacheInterface |
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.
For the record: This interface has never been released, so it is okey to remove it.
2d2d0f7
to
d9f19bc
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.
With one small comment
4ad3e50
to
ec22696
Compare
ec22696
to
dd9fd32
Compare
"psr/simple-cache-implementation": "1.0", | ||
"symfony/cache-contracts": "1.0", | ||
"symfony/service-contracts": "1.0", | ||
"symfony/translation-contracts": "1.0" |
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.
I realized we should add this. OK to you?
dd9fd32
to
efdbbec
Compare
efdbbec
to
0a1220f
Compare
rebased |
This PR was merged into the 4.2-dev branch. Discussion ---------- [Cache] leverage Contracts\Cache | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - Implementing #28096 Commits ------- 0a1220f [Cache] leverage Contracts\Cache
Implementing #28096