From: Raphaƫl Gertz Date: Tue, 26 Nov 2019 20:54:12 +0000 (+0100) Subject: Import packages configuration X-Git-Tag: 0.1.3~1 X-Git-Url: https://git.rapsys.eu/packbundle/commitdiff_plain/b18dc62c6bff0599c95aacec37edcd9f916928ea Import packages configuration --- 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 ]