From: Raphaƫl Gertz Date: Thu, 21 Nov 2024 18:09:28 +0000 (+0100) Subject: Move package and route configurations in Resources/config/ to config/ X-Git-Tag: 0.5.4~27 X-Git-Url: https://git.rapsys.eu/packbundle/commitdiff_plain/51c618d74835a86dacbb190ef00c6a2178e7a5eb?hp=cb898714d95a386fbd23c8d6f2292fc33f330a74 Move package and route configurations in Resources/config/ to config/ --- 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