Commit 6a092186 authored by Fabien Potencier's avatar Fabien Potencier

updated docs

parent 29e69c9f
...@@ -43,6 +43,8 @@ Services ...@@ -43,6 +43,8 @@ Services
* **security.encoder.digest**: The encoder to use by default for all users. * **security.encoder.digest**: The encoder to use by default for all users.
* **user**: Returns the current user
.. note:: .. note::
The service provider defines many other services that are used internally The service provider defines many other services that are used internally
...@@ -639,8 +641,6 @@ Traits ...@@ -639,8 +641,6 @@ Traits
``Silex\Application\SecurityTrait`` adds the following shortcuts: ``Silex\Application\SecurityTrait`` adds the following shortcuts:
* **user**: Returns the current user.
* **encodePassword**: Encode a given password. * **encodePassword**: Encode a given password.
.. code-block:: php .. code-block:: php
......
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