- Added ExtendedCacheItemPoolInterface::getConfigClass() that returns the config class name
- Updated ExtendedCacheItemPoolInterface::setEventManager() first argument that now MUSt implement
\Phpfastcache\Event\EventInterface
- Updated ExtendedCacheItemInterface::setEventManager() first argument that now MUSt implement
\Phpfastcache\Event\EventInterface
- Added ExtendedCacheItemPoolInterface::isUsableInAutoContext() to check if the driver is allowed to be used in 'Auto' context.
- Implemented additional atomic methods:
- Added ExtendedCacheItemInterface::isNull() to test if the data is null or not despite the hit/miss status.
- Added ExtendedCacheItemInterface::isEmpty() to test if the data is empty or not despite the hit/miss status.
- Added ExtendedCacheItemInterface::getLength() get the data length if the data is a string, array, or objects that implement \Countable interface.
- Introduced BC breaks:
- Updated ExtendedCacheItemPoolInterface to be compliant with the new $config object introduced in V7.
- ExtendedCacheItemPoolInterface::getConfig() no longer returns an array but a ConfigurationOption object
- ExtendedCacheItemPoolInterface::getDefaultConfig() no longer returns an array but a ConfigurationOption object
- Removed ExtendedCacheItemInterface::getUncommittedData() that is no longer used in the V7
- Implemented full PHP7 type hint support for ExtendedCacheItemPoolInterface and ExtendedCacheItemInterface
- Added instance ID getter (introduced in V7):
- ExtendedCacheItemPoolInterface::getInstanceId()
- The method ExtendedCacheItemPoolInterface::getDefaultConfig() will now returns a \phpFastCache\Util\ArrayObject
- Implemented additional simple helper method to direct access to a config option:
- ExtendedCacheItemPoolInterface::getConfigOption()
- Implemented additional simple helper method to provide basic information about the driver:
- ExtendedCacheItemPoolInterface::getHelp()
- Implemented additional saving method form multiple items: ExtendedCacheItemPoolInterface::saveMultiple()
- Implemented additional tags methods such as:
- ExtendedCacheItemPoolInterface::getItemsByTagsAll()
- ExtendedCacheItemPoolInterface::incrementItemsByTagsAll()
- ExtendedCacheItemPoolInterface::decrementItemsByTagsAll()
- ExtendedCacheItemPoolInterface::deleteItemsByTagsAll()
- ExtendedCacheItemPoolInterface::appendItemsByTagsAll()
- ExtendedCacheItemPoolInterface::prependItemsByTagsAll()
- Implemented Event manager methods such as:
- ExtendedCacheItemInterface::setEventManager()
- ExtendedCacheItemPoolInterface::setEventManager()
- Implemented Item advanced time methods such as:
- ExtendedCacheItemInterface::setExpirationDate() (Alias of CacheItemInterface::ExpireAt() for more code logic)
- ExtendedCacheItemInterface::getCreationDate() *
- ExtendedCacheItemInterface::getModificationDate() *
- ExtendedCacheItemInterface::setCreationDate(\DateTimeInterface) *
- ExtendedCacheItemInterface::setModificationDate() *
- * Require configuration directive "itemDetailedDate" to be enabled
- Added an additional CacheItemInterface method:
- ExtendedCacheItemInterface::getEncodedKey()
- Implemented [de|a]ttaching methods to improve memory management
- ExtendedCacheItemPoolInterface::detachItem()
- ExtendedCacheItemPoolInterface::detachAllItems()
- ExtendedCacheItemPoolInterface::attachItem()
- ExtendedCacheItemPoolInterface::isAttached()
- Implemented JsonSerializable interface to ExtendedCacheItemInterface
- Implemented JSON methods such as:
- ExtendedCacheItemPoolInterface::getItemsAsJsonString()
- ExtendedCacheItemPoolInterface::getItemsByTagsAsJsonString()
- ExtendedCacheItemInterface::getDataAsJsonString()
- First initial version