Skip to content

Commit 56c9c9a

Browse files
committed
Tagging bugfix and updated tests to ^0.9
1 parent 38f5510 commit 56c9c9a

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

AbstractCachePool.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ abstract protected function storeItemInCache(CacheItemInterface $item, $ttl);
3939
*
4040
* @param string $key
4141
*
42-
* @return array with [isHit, value]
42+
* @return array with [isHit, value, [tags]]
4343
*/
4444
abstract protected function fetchObjectFromCache($key);
4545

Changelog.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Changelog
2+
3+
## Changes from 0.2 to 0.3
4+
5+
* The `AbstractCachePool` does not longer implement `TaggablePoolInterface`. However, the `CacheItem` does still implement `TaggableItemInterface`.
6+
* `CacheItem::getKeyFromTaggedKey` has been removed
7+
* The `CacheItem`'s second parameter is a callable that must return an array with 3 elements; [`hasValue`, `value`, `tags`].

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
},
3030
"require-dev": {
3131
"phpunit/phpunit": "^4.0|^5.1",
32-
"cache/integration-tests": "0.9.0"
32+
"cache/integration-tests": "^0.9"
3333
},
3434
"autoload": {
3535
"psr-4": {

0 commit comments

Comments
 (0)