Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72f19a9 commit 45e1470Copy full SHA for 45e1470
cookbook/security/entity_provider.rst
@@ -185,21 +185,6 @@ interface forces the class to implement the five following methods:
185
186
For more details on each of these, see :class:`Symfony\\Component\\Security\\Core\\User\\UserInterface`.
187
188
-.. code-block:: php
189
-
190
- // src/Acme/UserBundle/Entity/User.php
191
192
- namespace Acme\UserBundle\Entity;
193
194
- use Symfony\Component\Security\Core\User\EquatableInterface;
195
196
- // ...
197
198
- public function isEqualTo(UserInterface $user)
199
- {
200
- return $this->id === $user->getId();
201
- }
202
203
.. note::
204
205
The :phpclass:`Serializable` interface and its ``serialize`` and ``unserialize``
0 commit comments