mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
refactor: Add WopiInterface wiring.
This commit is contained in:
parent
c7aa363d02
commit
6378ecbe8a
@ -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);
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user