, Tobias Nyholm * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ namespace Cache\Adapter\Common; use Cache\TagInterop\TaggableCacheItemInterface; /** * @author Tobias Nyholm */ interface PhpCacheItem extends HasExpirationTimestampInterface, TaggableCacheItemInterface { /** * Get the current tags. These are not the same tags as getPrevious tags. This * is the tags that has been added to the item after the item was fetched from * the cache storage. * * WARNING: This is generally not the function you want to use. Please see * `getPreviousTags`. * * @return array */ public function getTags(); }