Skip to content

Commit 7d95e12

Browse files
authored
Add command to require Symfony security
The command should be there, because if someone unfamiliar with new Symfony structure use it, it will not work.
1 parent 0d2e368 commit 7d95e12

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

security/entity_provider.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,12 @@ and :ref:`user serialization to the session <security-serialize-equatable>`
3535

3636
1) Create your User Entity
3737
--------------------------
38+
Firstable you need to require a Symfony security
3839

40+
.. code-block:: terminal
41+
42+
$ composer req security
43+
3944
For this entry, suppose that you already have a ``User`` entity inside an
4045
``AppBundle`` with the following fields: ``id``, ``username``, ``password``,
4146
``email`` and ``isActive``::

0 commit comments

Comments
 (0)