Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita9683eb

Browse files
committed
[#7519] some minor tweaks
1 parent6b342d7 commita9683eb

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

‎reference/configuration/framework.rst‎

Lines changed: 7 additions & 4 deletions
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:assetsversion_strategy="app.asset.my_versioning_strategy">
1153+
<framework:assetsversion-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)

[8]ページ先頭

©2009-2025 Movatter.jp