refactor: Add WopiInterface wiring.

This commit is contained in:
Pol Dellaiera 2021-08-17 15:37:14 +02:00 committed by Marc Ducobu
parent c7aa363d02
commit 6378ecbe8a

View File

@ -9,6 +9,9 @@ declare(strict_types=1);
namespace Symfony\Component\DependencyInjection\Loader\Configurator;
use ChampsLibres\WopiLib\WopiInterface;
use Chill\WopiBundle\Service\Wopi\ChillWopi;
return static function (ContainerConfigurator $container) {
$services = $container
->services();
@ -24,4 +27,7 @@ return static function (ContainerConfigurator $container) {
$services
->load('Chill\\WopiBundle\\Controller\\', __DIR__ . '/../../Controller')
->tag('controller.service_arguments');
$services
->alias(WopiInterface::class, ChillWopi::class);
};