X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FFactory%2FCacheFactory.php;h=1e93b5ee07d35f504d63961985bb841b8146fc20;hb=5d61599964e74bb733816a5592eee2aed3bbba4e;hp=8cf7fcd66aa0fbdc1ddda117dab069792dd1c872;hpb=c742c62f0aae6a033823dd34ae97426dc90e7580;p=friendica.git diff --git a/src/Factory/CacheFactory.php b/src/Factory/CacheFactory.php index 8cf7fcd66a..1e93b5ee07 100644 --- a/src/Factory/CacheFactory.php +++ b/src/Factory/CacheFactory.php @@ -1,11 +1,30 @@ . + * + */ namespace Friendica\Factory; use Friendica\App\BaseURL; use Friendica\Core\Cache; use Friendica\Core\Cache\ICache; -use Friendica\Core\Config\IConfiguration; +use Friendica\Core\Config\IConfig; use Friendica\Database\Database; use Friendica\Util\Profiler; use Psr\Log\LoggerInterface; @@ -25,7 +44,7 @@ class CacheFactory const DEFAULT_TYPE = Cache\Type::DATABASE; /** - * @var IConfiguration The IConfiguration to read parameters out of the config + * @var IConfig The IConfiguration to read parameters out of the config */ private $config; @@ -49,7 +68,7 @@ class CacheFactory */ private $logger; - public function __construct(BaseURL $baseURL, IConfiguration $config, Database $dba, Profiler $profiler, LoggerInterface $logger) + public function __construct(BaseURL $baseURL, IConfig $config, Database $dba, Profiler $profiler, LoggerInterface $logger) { $this->hostname = $baseURL->getHostname(); $this->config = $config;