File tree 2 files changed +10
-4
lines changed
2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -51,6 +51,8 @@ Installation
51
51
Usage
52
52
-----
53
53
54
+ .. _asset-packages :
55
+
54
56
Asset Packages
55
57
~~~~~~~~~~~~~~
56
58
Original file line number Diff line number Diff line change @@ -56,12 +56,16 @@ assets.package
56
56
57
57
**Purpose **: Add an asset package to the application
58
58
59
- This is an alternative way to declare a package in :doc: ` /components/asset `.
59
+ .. versionadded :: 5.3
60
60
61
+ The ``assets.package `` tag was introduced in Symfony 5.3.
62
+
63
+ This is an alternative way to declare an :ref: `asset package <asset-packages >`.
61
64
The name of the package is set in this order:
62
- * first, the `package ` attribute of the tag
63
- * then, the value returned by the static method `getDefaultPackageName() ` if defined
64
- * finally, the service name
65
+
66
+ * first, the ``package `` attribute of the tag;
67
+ * then, the value returned by the static method ``getDefaultPackageName() `` if defined;
68
+ * finally, the service name.
65
69
66
70
.. configuration-block ::
67
71
You can’t perform that action at this time.
0 commit comments