10000 Tweaks · symfony/symfony-docs@3799eb4 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3799eb4

Browse files
committed
Tweaks
1 parent 6b29306 commit 3799eb4

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

components/asset.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ Installation
5151
Usage
5252
-----
5353

54+
.. _asset-packages:
55+
5456
Asset Packages
5557
~~~~~~~~~~~~~~
5658

reference/dic_tags.rst

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,16 @@ assets.package
5656

5757
**Purpose**: Add an asset package to the application
5858

59-
This is an alternative way to declare a package in :doc:`/components/asset`.
59+
.. versionadded:: 5.3
6060

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>`.
6164
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.
6569

6670
.. configuration-block::
6771

0 commit comments

Comments
 (0)
0