From 5f11cc245efdb451c017f6ee757d74ecd1580c48 Mon Sep 17 00:00:00 2001 From: Florent Morselli Date: Sun, 17 Dec 2023 09:20:54 +0100 Subject: [PATCH] Initial commit --- src/Resources/config/services.php | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/Resources/config/services.php b/src/Resources/config/services.php index 3b08283..4b2f8ef 100644 --- a/src/Resources/config/services.php +++ b/src/Resources/config/services.php @@ -18,9 +18,15 @@ $container->set(GenerateManifestCommand::class); if (extension_loaded('imagick')) { - $container->set(ImagickImageProcessor::class); + $container + ->set(ImagickImageProcessor::class) + ->alias('pwa.image_processor.imagick', ImagickImageProcessor::class) + ; } if (extension_loaded('gd')) { - $container->set(GDImageProcessor::class); + $container + ->set(GDImageProcessor::class) + ->alias('pwa.image_processor.gd', GDImageProcessor::class) + ; } };