]> Raphaƫl G. Git Repositories - packbundle/blob - Resources/config/packages/rapsys_pack.yaml
Import packages configuration
[packbundle] / Resources / config / packages / rapsys_pack.yaml
1 #Services configuration
2 services:
3 #Register assets pack package
4 assets.pack_package:
5 class: Rapsys\PackBundle\Asset\PathPackage
6 arguments: [ '/', '@assets.empty_version_strategy', '@assets.context' ]
7 #Register twig pack extension
8 rapsys_pack.twig.pack_extension:
9 class: Rapsys\PackBundle\Twig\PackExtension
10 arguments: [ '@file_locator', '@service_container', '@assets.pack_package' ]
11 tags: [ twig.extension ]