Skip to content

Commit bee9297

Browse files
Carlos Granadosweaverryan
Carlos Granados
authored andcommitted
Clarify when we are talking about PHP and Twig
In the description for versioned URLs and absolute URLs for assets, it was not clear if we were talking about Twig or PHP. Also we are usually first talking about Twig and then PHP, not the other way around
1 parent eabb982 commit bee9297

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

book/templating.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1029,8 +1029,8 @@ configuration option.
10291029

10301030
.. _`book-templating-version-by-asset`:
10311031

1032-
If you need to set a version for a specific asset, you can set the fourth
1033-
argument (or the ``version`` argument) to the desired version:
1032+
If you need to set a version for a specific asset, you can set the ``version`` argument
1033+
if you are using Twig (or the fourth argument if you are using PHP) to the desired version:
10341034

10351035
.. configuration-block::
10361036

@@ -1051,8 +1051,8 @@ If you don't give a version or pass ``null``, the default package version
10511051
(from :ref:`ref-framework-assets-version`) will be used. If you pass ``false``,
10521052
versioned URL will be deactivated for this asset.
10531053

1054-
If you need absolute URLs for assets, you can set the third argument (or the
1055-
``absolute`` argument) to ``true``:
1054+
If you need absolute URLs for assets, you can set the ``absolute`` argument
1055+
if you are using Twig (or the third argument if you are using PHP) to ``true``:
10561056

10571057
.. configuration-block::
10581058

0 commit comments

Comments
 (0)