]> git.mxchange.org Git - friendica.git/blobdiff - src/Console/Cache.php
doc/themes.md,FAQ-admin: point to live friendica-themes.com mirror
[friendica.git] / src / Console / Cache.php
index c087aae6d61e417c3c076d866f0adc385f99bcf9..e02d2225a2234698f741fdb5e866039bd3c54db4 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2020, Friendica
+ * @copyright Copyright (C) 2010-2022, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -23,8 +23,8 @@ namespace Friendica\Console;
 
 use Asika\SimpleConsole\CommandArgsException;
 use Friendica\App;
-use Friendica\Core\Cache\Duration;
-use Friendica\Core\Cache\ICache;
+use Friendica\Core\Cache\Enum\Duration;
+use Friendica\Core\Cache\Capability\ICanCache;
 use RuntimeException;
 
 /**
@@ -44,7 +44,7 @@ class Cache extends \Asika\SimpleConsole\Console
        private $appMode;
 
        /**
-        * @var ICache
+        * @var ICanCache
         */
        private $cache;
 
@@ -82,7 +82,7 @@ HELP;
                return $help;
        }
 
-       public function __construct(App\Mode $appMode, ICache $cache, array $argv = null)
+       public function __construct(App\Mode $appMode, ICanCache $cache, array $argv = null)
        {
                parent::__construct($argv);