Skip to content

Commit fe4e15a

Browse files
committed
Merge branch '7.4' into 8.0
* 7.4: Minor tweaks [WebLink] make use of avilable constant
2 parents 4288152 + 3310434 commit fe4e15a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

web_link.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,12 @@ You can also add links to the HTTP response directly from controllers and servic
195195
}
196196
}
197197

198+
.. tip::
199+
200+
The possible values of link relations (``'preload'``, ``'preconnect'``, etc.)
201+
are also defined as constants in the :class:`Symfony\\Component\\WebLink\\Link`
202+
class (e.g. ``Link::REL_PRELOAD``, ``Link::REL_PRECONNECT``, etc.).
203+
198204
Parsing Link Headers
199205
--------------------
200206

0 commit comments

Comments
 (0)