Commit 0b8249c9 authored by Fabien Potencier's avatar Fabien Potencier

fixed some references in the docs

parent 64901b7c
How to use PdoSessionStorage to store sessions in the database How to use PdoSessionStorage to store sessions in the database
============================================================== ==============================================================
By default, the :doc:`SessionServiceProvider <providers/session>` writes By default, the :doc:`SessionServiceProvider </providers/session>` writes
session information in files using Symfony2 NativeFileSessionStorage. Most session information in files using Symfony2 NativeFileSessionStorage. Most
medium to large websites use a database to store sessions instead of files, medium to large websites use a database to store sessions instead of files,
because databases are easier to use and scale in a multi-webserver because databases are easier to use and scale in a multi-webserver
......
...@@ -157,9 +157,9 @@ Once loaded, the translation service provider is available from within Twig temp ...@@ -157,9 +157,9 @@ Once loaded, the translation service provider is available from within Twig temp
{{ app.translator.trans('translation_key') }} {{ app.translator.trans('translation_key') }}
Even better: register the :doc:`SymfonyBridgesServiceProvider <providers/symfony_bridges>` and you will get Even better: register the :doc:`SymfonyBridgesServiceProvider
the TranslationExtension of the bridge allowing you to translate strings in </providers/symfony_bridges>` and you will get the TranslationExtension of the
the Twig way: bridge allowing you to translate strings in the Twig way:
.. code-block:: jinja .. code-block:: jinja
......
...@@ -28,8 +28,8 @@ Services ...@@ -28,8 +28,8 @@ Services
* **twig**: The ``Twig_Environment`` instance. The main way of * **twig**: The ``Twig_Environment`` instance. The main way of
interacting with Twig. interacting with Twig.
* **twig.configure**: :doc:`Protected closure <services#protected-closures>` that takes the Twig * **twig.configure**: :doc:`Protected closure </services#protected-closures>`
environment as an argument. You can use it to add more that takes the Twig environment as an argument. You can use it to add more
custom globals. custom globals.
* **twig.loader**: The loader for Twig templates which uses * **twig.loader**: The loader for Twig templates which uses
......
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