File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -69,6 +69,7 @@ Configuration
6969 * `base_path `_
7070 * `base_urls `_
7171 * `packages `_
72+ * `version_strategy `_
7273 * `version `_
7374 * `version_format `_
7475* `templating `_
@@ -958,9 +959,26 @@ Each package can configure the following options:
958959
959960* :ref: `base_path <reference-assets-base-path >`
960961* :ref: `base_urls <reference-assets-base-urls >`
962+ * :ref: `version_strategy <reference-framework-assets-version-strategy >`
961963* :ref: `version <reference-framework-assets-version >`
962964* :ref: `version_format <reference-assets-version-format >`
963965
966+ .. _reference-templating-version-strategy :
967+ .. _reference-assets-version-strategy :
968+
969+ version_strategy
970+ ..............
971+
972+ **type **: ``string `` **default **: ``null ``
973+
974+ This specifies a service id of a service to use as the version strategy for
975+ all rendered asset paths. Version strategies must implement
976+ :class: `Symfony\\ Component\\ Asset\\ VersionStrategy\\ VersionStrategy `.
977+
978+ .. note ::
979+
980+ This parameter cannot be set at the same time as ``version ``.
981+
964982.. _reference-framework-assets-version :
965983.. _ref-framework-assets-version :
966984
@@ -1031,6 +1049,10 @@ before each deployment so that the query parameters change.
10311049You can also control how the query string works via the `version_format `_
10321050option.
10331051
1052+ .. note ::
1053+
1054+ This parameter cannot be set at the same time as ``version_strategy ``.
1055+
10341056.. tip ::
10351057
10361058 As with all settings, you can use a parameter as value for the
You can’t perform that action at this time.
0 commit comments