Skip to content

Commit a9683eb

Browse files
committed
[symfony#7519] some minor tweaks
1 parent 6b342d7 commit a9683eb

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

reference/configuration/framework.rst

+7-4
Original file line numberDiff line numberDiff line change
@@ -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
11551156
name="foo_package"
11561157
version="null" />
1158+
<!-- this package uses its own strategy (the default strategy is ignored) -->
11571159
<framework:package
11581160
name="bar_package"
11591161
version-strategy="app.asset.another_version_strategy" />
1162+
<!-- this package inherits the default strategy -->
11601163
<framework:package
11611164
name="baz_package"
11621165
base_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
),

0 commit comments

Comments
 (0)