@@ -1150,13 +1150,16 @@ individually for each asset package:
11501150 http://symfony.com/schema/dic/symfony http://symfony.com/schema/dic/symfony/symfony-1.0.xsd" >
11511151
11521152 <framework : config >
1153- <framework : assets version_strategy =" app.asset.my_versioning_strategy" >
1153+ <framework : assets version-strategy =" app.asset.my_versioning_strategy" >
1154+ <!-- this package removes any versioning (its assets won't be versioned)-->
11541155 <framework : package
11551156name =" foo_package"
11561157version =" null" />
1158+ <!-- this package uses its own strategy (the default strategy is ignored)-->
11571159 <framework : package
11581160name =" bar_package"
11591161version-strategy =" app.asset.another_version_strategy" />
1162+ <!-- this package inherits the default strategy-->
11601163 <framework : package
11611164name =" baz_package"
11621165base_path =" /images" />
@@ -1172,15 +1175,15 @@ individually for each asset package:
11721175 'version_strategy' => 'app.asset.my_versioning_strategy',
11731176 'packages' => array(
11741177 'foo_package' => array(
1175- //...
1178+ //this package removes any versioning (its assets won't be versioned)
11761179 'version' => null,
11771180 ),
11781181 'bar_package' => array(
1179- //...
1182+ //this package uses its own strategy (the default strategy is ignored)
11801183 'version_strategy' => 'app.asset.another_version_strategy',
11811184 ),
11821185 'baz_package' => array(
1183- //...
1186+ //this package inherits the default strategy
11841187 'base_path' => '/images',
11851188 ),
11861189 ),