Skip to content

Commit 45e1470

Browse files
committed
Removing note that used to be attached to a versionadded before it that was removed (and so this note should have been removed too)
1 parent 72f19a9 commit 45e1470

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

cookbook/security/entity_provider.rst

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -185,21 +185,6 @@ interface forces the class to implement the five following methods:
185185

186186
For more details on each of these, see :class:`Symfony\\Component\\Security\\Core\\User\\UserInterface`.
187187

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-
203188
.. note::
204189

205190
The :phpclass:`Serializable` interface and its ``serialize`` and ``unserialize``

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy