Skip to content

Commit 2c6bb4e

Browse files
author
Sander De la Marche
committed
Wrap text at 70/80 chars
1 parent 9357d51 commit 2c6bb4e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

components/http_foundation.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -715,7 +715,12 @@ The session information is in its own document: :doc:`/components/http_foundatio
715715
UrlHelper
716716
-------
717717

718-
Generating absolute (and relative) URLs for a given path is a common need in lots of applications. In Twig templates this is trivial thanks to the absolute_url() and relative_path() functions. The same functionality can be found in the :class:`Symfony\\Component\\HttpFoundation\\UrlHelper` class, which can be injected as a service anywhere in your application. This class provides two public methods called getAbsoluteUrl() and getRelativePath()::
718+
Generating absolute (and relative) URLs for a given path is a common need
719+
in lots of applications. In Twig templates this is trivial thanks to the
720+
absolute_url() and relative_path() functions. The same functionality can
721+
be found in the :class:`Symfony\\Component\\HttpFoundation\\UrlHelper` class,
722+
which can be injected as a service anywhere in your application. This class
723+
provides two public methods called getAbsoluteUrl() and getRelativePath()::
719724

720725
// src/Normalizer/UserApiNormalizer.php
721726

0 commit comments

Comments
 (0)