-
Notifications
You must be signed in to change notification settings - Fork 11
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
Added support for Doctrine\Cache 1.7 with deleteMultiple #22
Conversation
src/Exception/CacheException.php
Outdated
@@ -8,26 +8,11 @@ | |||
|
|||
final class CacheException extends \RuntimeException implements PsrCacheException | |||
{ | |||
public static function fromNonClearableCache(DoctrineCache $cache) : self | |||
public static function fromNonMultiOperationCache(DoctrineCache $cache) : self |
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.
Minor BC break: requires UPGRADE.md
notes or revert + deprecation
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.
fromNonClearableCache
shouldn't have gone, oops. Added that back in :)
src/Exception/CacheException.php
Outdated
)); | ||
} | ||
|
||
public static function fromNonMultiGetCache(DoctrineCache $cache) : self |
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.
Minor BC break: requires UPGRADE.md
notes or revert + deprecation
)); | ||
} | ||
|
||
public static function fromNonMultiPutCache(DoctrineCache $cache) : self |
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.
Minor BC break: requires UPGRADE.md
notes or revert + deprecation
use Doctrine\Common\Cache\ClearableCache; | ||
use Doctrine\Common\Cache\MultiGetCache; | ||
|
||
interface NotMultiPuttableCache extends Cache, ClearableCache, MultiGetCache |
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.
Minor BC break: requires UPGRADE.md
notes or revert + deprecation
All other BC breaks now documented in upgrade notes in |
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.
🚢
Fixes #2