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
69
69
* `base_path `_
70
70
* `base_urls `_
71
71
* `packages `_
72
+ * `version_strategy `_
72
73
* `version `_
73
74
* `version_format `_
74
75
* `templating `_
@@ -958,9 +959,26 @@ Each package can configure the following options:
958
959
959
960
* :ref: `base_path <reference-assets-base-path >`
960
961
* :ref: `base_urls <reference-assets-base-urls >`
962
+ * :ref: `version_strategy <reference-framework-assets-version-strategy >`
961
963
* :ref: `version <reference-framework-assets-version >`
962
964
* :ref: `version_format <reference-assets-version-format >`
963
965
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
+
964
982
.. _reference-framework-assets-version :
965
983
.. _ref-framework-assets-version :
966
984
@@ -1031,6 +1049,10 @@ before each deployment so that the query parameters change.
1031
1049
You can also control how the query string works via the `version_format `_
1032
1050
option.
1033
1051
1052
+ .. note ::
1053
+
1054
+ This parameter cannot be set at the same time as ``version_strategy ``.
1055
+
1034
1056
.. tip ::
1035
1057
1036
1058
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