Refactor ConfigureOpenstackObjectStorageCommand

- change namespace for more obvious handling;
- remove command of local storage is configured
This commit is contained in:
2024-12-19 21:33:55 +01:00
parent 83f7086bb0
commit c65f1d495d
4 changed files with 5 additions and 6 deletions

View File

@@ -12,6 +12,7 @@ declare(strict_types=1);
namespace Chill\DocStoreBundle\DependencyInjection\Compiler;
use Chill\DocStoreBundle\AsyncUpload\Driver\LocalStorage\TempUrlLocalStorageGenerator;
use Chill\DocStoreBundle\AsyncUpload\Driver\OpenstackObjectStore\ConfigureOpenstackObjectStorageCommand;
use Chill\DocStoreBundle\AsyncUpload\Driver\OpenstackObjectStore\TempUrlOpenstackGenerator;
use Chill\DocStoreBundle\AsyncUpload\TempUrlGeneratorInterface;
use Chill\DocStoreBundle\Service\StoredObjectManagerInterface;
@@ -24,6 +25,7 @@ class StorageConfigurationCompilerPass implements CompilerPassInterface
private const SERVICES_OPENSTACK = [
\Chill\DocStoreBundle\AsyncUpload\Driver\OpenstackObjectStore\StoredObjectManager::class,
TempUrlOpenstackGenerator::class,
ConfigureOpenstackObjectStorageCommand::class,
];
private const SERVICES_LOCAL_STORAGE = [