refactor: Add TempUrlGeneratorInterface wiring.

This commit is contained in:
Pol Dellaiera 2021-08-17 15:39:40 +02:00 committed by Marc Ducobu
parent 6378ecbe8a
commit 0f0cc295b9

View File

@ -9,6 +9,8 @@ declare(strict_types=1);
namespace Symfony\Component\DependencyInjection\Loader\Configurator;
use ChampsLibres\AsyncUploaderBundle\TempUrl\TempUrlGeneratorInterface;
use ChampsLibres\AsyncUploaderBundle\TempUrl\TempUrlOpenstackGenerator;
use ChampsLibres\WopiLib\WopiInterface;
use Chill\WopiBundle\Service\Wopi\ChillWopi;
@ -30,4 +32,7 @@ return static function (ContainerConfigurator $container) {
$services
->alias(WopiInterface::class, ChillWopi::class);
$services
->alias(TempUrlGeneratorInterface::class, TempUrlOpenstackGenerator::class);
};