From b18dc62c6bff0599c95aacec37edcd9f916928ea Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Tue, 26 Nov 2019 21:54:12 +0100 Subject: [PATCH] Import packages configuration --- Resources/config/packages/rapsys_pack.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Resources/config/packages/rapsys_pack.yaml diff --git a/Resources/config/packages/rapsys_pack.yaml b/Resources/config/packages/rapsys_pack.yaml new file mode 100644 index 0000000..da45381 --- /dev/null +++ b/Resources/config/packages/rapsys_pack.yaml @@ -0,0 +1,11 @@ +#Services configuration +services: + #Register assets pack package + assets.pack_package: + class: Rapsys\PackBundle\Asset\PathPackage + arguments: [ '/', '@assets.empty_version_strategy', '@assets.context' ] + #Register twig pack extension + rapsys_pack.twig.pack_extension: + class: Rapsys\PackBundle\Twig\PackExtension + arguments: [ '@file_locator', '@service_container', '@assets.pack_package' ] + tags: [ twig.extension ] -- 2.41.1