From c7c9e14987592caf5c84dd4b3af98f0ae855368a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Wed, 11 Dec 2019 04:17:37 +0100 Subject: [PATCH 1/1] Rename service assets.pack_package in rapsys.pack_package Rename service rapsys_pack.twig.pack_extension in rapsys.pack_extension Cleanup --- Resources/config/packages/rapsys_pack.yaml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Resources/config/packages/rapsys_pack.yaml b/Resources/config/packages/rapsys_pack.yaml index 78fe5b0..cdae053 100644 --- a/Resources/config/packages/rapsys_pack.yaml +++ b/Resources/config/packages/rapsys_pack.yaml @@ -1,13 +1,11 @@ #Services configuration services: #Register assets pack package - assets.pack_package: + rapsys.pack_package: class: 'Rapsys\PackBundle\Asset\PackPackage' arguments: [ '/', '@assets.empty_version_strategy', '@assets.context' ] -# arguments: [ '/', '@assets.static_version_strategy', '@assets.context' ] -# arguments: [ '/bundles/%%s', '@assets.empty_version_strategy', '@assets.context' ] #Register twig pack extension - rapsys_pack.twig.pack_extension: + rapsys.pack_extension: class: 'Rapsys\PackBundle\Twig\PackExtension' - arguments: [ '@file_locator', '@service_container', '@assets.pack_package' ] + arguments: [ '@file_locator', '@service_container', '@rapsys.pack_package' ] tags: [ 'twig.extension' ] -- 2.41.1