File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99 * with this source code in the file LICENSE.
1010 */
1111
12-
1312namespace Cache \Encryption ;
1413
15- use Cache \Adapter \Common \HasExpirationDateInterface ;
14+ use Cache \Adapter \Common \PhpCacheItem ;
1615use Cache \Taggable \TaggableItemInterface ;
1716use Defuse \Crypto \Crypto ;
1817use Defuse \Crypto \Key ;
2322 *
2423 * @author Daniel Bannert <d.bannert@anolilab.de>
2524 */
26- class EncryptedItemDecorator implements CacheItemInterface, HasExpirationDateInterface , TaggableItemInterface
25+ class EncryptedItemDecorator implements PhpCacheItem , TaggableItemInterface
2726{
2827 /**
2928 * @type CacheItemInterface
@@ -96,9 +95,9 @@ public function isHit()
9695 /**
9796 * {@inheritdoc}
9897 */
99- public function getExpirationDate ()
98+ public function getExpirationTimestamp ()
10099 {
101- return $ this ->cacheItem ->getExpirationDate ();
100+ return $ this ->cacheItem ->getExpirationTimestamp ();
102101 }
103102
104103 /**
You can’t perform that action at this time.
0 commit comments