Commit b355becd authored by Fabien Potencier's avatar Fabien Potencier

removed references to the symfony bridge extension

parent 4d80d4e5
...@@ -53,7 +53,6 @@ the ``Silex\Provider`` namespace: ...@@ -53,7 +53,6 @@ the ``Silex\Provider`` namespace:
* :doc:`MonologServiceProvider <providers/monolog>` * :doc:`MonologServiceProvider <providers/monolog>`
* :doc:`SessionServiceProvider <providers/session>` * :doc:`SessionServiceProvider <providers/session>`
* :doc:`SwiftmailerServiceProvider <providers/swiftmailer>` * :doc:`SwiftmailerServiceProvider <providers/swiftmailer>`
* :doc:`SymfonyBridgesServiceProvider <providers/symfony_bridges>`
* :doc:`TwigServiceProvider <providers/twig>` * :doc:`TwigServiceProvider <providers/twig>`
* :doc:`TranslationServiceProvider <providers/translation>` * :doc:`TranslationServiceProvider <providers/translation>`
* :doc:`UrlGeneratorServiceProvider <providers/url_generator>` * :doc:`UrlGeneratorServiceProvider <providers/url_generator>`
......
...@@ -54,13 +54,10 @@ When using Twig, the service can be used like this: ...@@ -54,13 +54,10 @@ When using Twig, the service can be used like this:
{{ app.url_generator.generate('homepage') }} {{ app.url_generator.generate('homepage') }}
Moreover, if you register the ``SymfonyBridgesServiceProvider``, then you will Moreover, if you use Twig, you will have access to the ``path()`` and
have access to the ``path()`` and ``url()`` functions: ``url()`` functions:
.. code-block:: jinja .. code-block:: jinja
{{ path('homepage') }} {{ path('homepage') }}
{{ url('homepage') }} {# generates the absolute url http://example.org/ #} {{ url('homepage') }} {# generates the absolute url http://example.org/ #}
You can find more information about this subject in the :doc:`Symfony bridges
documentation <symfony_bridges>`.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment