From 45e147041ea7b51ae69ec2932d186cdd43c730c2 Mon Sep 17 00:00:00 2001 From: Ryan Weaver Date: Sun, 30 Jun 2013 21:24:30 -0500 Subject: [PATCH] Removing note that used to be attached to a versionadded before it that was removed (and so this note should have been removed too) --- cookbook/security/entity_provider.rst | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/cookbook/security/entity_provider.rst b/cookbook/security/entity_provider.rst index 2d14c500acc..41a1c56c24a 100644 --- a/cookbook/security/entity_provider.rst +++ b/cookbook/security/entity_provider.rst @@ -185,21 +185,6 @@ interface forces the class to implement the five following methods: For more details on each of these, see :class:`Symfony\\Component\\Security\\Core\\User\\UserInterface`. -.. code-block:: php - - // src/Acme/UserBundle/Entity/User.php - - namespace Acme\UserBundle\Entity; - - use Symfony\Component\Security\Core\User\EquatableInterface; - - // ... - - public function isEqualTo(UserInterface $user) - { - return $this->id === $user->getId(); - } - .. note:: The :phpclass:`Serializable` interface and its ``serialize`` and ``unserialize``