chore: Bootstrap refactoring

Signed-off-by: Rubén D <nuxsmin@syspass.org>
This commit is contained in:
Rubén D
2024-04-20 11:59:23 +02:00
parent 03e4a57562
commit 4e346d9f1a
99 changed files with 645 additions and 1015 deletions

View File

@@ -31,7 +31,7 @@ use SP\Domain\Config\Ports\ConfigBackupService;
use SP\Domain\Config\Ports\ConfigDataInterface;
use SP\Domain\Config\Ports\ConfigFileService;
use SP\Domain\Core\AppInfoInterface;
use SP\Domain\Core\Context\ContextInterface;
use SP\Domain\Core\Context\Context;
use SP\Domain\Core\Exceptions\ConfigException;
use SP\Domain\Storage\Ports\FileCacheService;
use SP\Domain\Storage\Ports\XmlFileStorageService;
@@ -57,7 +57,7 @@ class ConfigFile implements ConfigFileService
public function __construct(
private readonly XmlFileStorageService $fileStorage,
private readonly FileCacheService $fileCache,
private readonly ContextInterface $context,
private readonly Context $context,
private readonly ConfigBackupService $configBackupService,
private ?ConfigDataInterface $configData = null
) {