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