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) + ; } };