From 51c618d74835a86dacbb190ef00c6a2178e7a5eb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Thu, 21 Nov 2024 19:09:28 +0100 Subject: [PATCH] Move package and route configurations in Resources/config/ to config/ --- {Resources/config => config}/packages/rapsyspack.yaml | 8 ++++++++ {Resources/config => config}/routes/rapsyspack.yaml | 0 2 files changed, 8 insertions(+) rename {Resources/config => config}/packages/rapsyspack.yaml (92%) rename {Resources/config => config}/routes/rapsyspack.yaml (100%) diff --git a/Resources/config/packages/rapsyspack.yaml b/config/packages/rapsyspack.yaml similarity index 92% rename from Resources/config/packages/rapsyspack.yaml rename to config/packages/rapsyspack.yaml index f57cf74..fb84758 100644 --- a/Resources/config/packages/rapsyspack.yaml +++ b/config/packages/rapsyspack.yaml @@ -26,6 +26,11 @@ services: class: 'Rapsys\PackBundle\Util\FacebookUtil' arguments: [ '@router', '%kernel.project_dir%/var/cache', '%rapsyspack.path%' ] public: true + # Register file util service + rapsyspack.file_util: + class: 'Rapsys\PackBundle\Util\FileUtil' + arguments: [ '@rapsyspack.image_util', '@rapsyspack.intl_util', '@translator' ] + public: true # Register image util service rapsyspack.image_util: class: 'Rapsys\PackBundle\Util\ImageUtil' @@ -78,6 +83,9 @@ services: # Register facebook util class alias Rapsys\PackBundle\Util\FacebookUtil: alias: 'rapsyspack.facebook_util' + # Register file util class alias + Rapsys\PackBundle\Util\FileUtil: + alias: 'rapsyspack.file_util' # Register image util class alias Rapsys\PackBundle\Util\ImageUtil: alias: 'rapsyspack.image_util' diff --git a/Resources/config/routes/rapsyspack.yaml b/config/routes/rapsyspack.yaml similarity index 100% rename from Resources/config/routes/rapsyspack.yaml rename to config/routes/rapsyspack.yaml -- 2.41.1