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