Skip to content

Commit 5e62181

Browse files
committed
Update doc for cascading name of assets with tag assets.package
1 parent 5f10302 commit 5e62181

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

reference/dic_tags.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,11 @@ assets.package
5757
**Purpose**: Add an asset package to the application
5858

5959
This is an alternative way to declare a package in :doc:`/components/asset`.
60-
The `package` attribute of the tag is required to name the package.
60+
61+
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
6165

6266
.. configuration-block::
6367

0 commit comments

Comments
 (0)