]> Raphaƫl G. Git Repositories - packbundle/blob - Resources/config/packages/rapsys_pack.yaml
Cleanup
[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\PackPackage'
6 arguments: [ '/', '@assets.empty_version_strategy', '@assets.context' ]
7 # arguments: [ '/', '@assets.static_version_strategy', '@assets.context' ]
8 # arguments: [ '/bundles/%%s', '@assets.empty_version_strategy', '@assets.context' ]
9 #Register twig pack extension
10 rapsys_pack.twig.pack_extension:
11 class: 'Rapsys\PackBundle\Twig\PackExtension'
12 arguments: [ '@file_locator', '@service_container', '@assets.pack_package' ]
13 tags: [ 'twig.extension' ]