From eaccb96ea30d1e2f0789ab34d87deb8049df62b9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Thu, 28 Jun 2018 10:12:05 +0200 Subject: [PATCH] Remove exposition policy. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- src/Entity/Person.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/Entity/Person.php b/src/Entity/Person.php index 91ffc15..934b2be 100644 --- a/src/Entity/Person.php +++ b/src/Entity/Person.php @@ -10,10 +10,6 @@ use JMS\Serializer\Annotation\Expose; * @ORM\Entity() * @ORM\Table(name="Person", indexes={@ORM\Index(name="authentification_idx", columns={"email", "password"}), * @ORM\Index(name="search_idx", columns={"firstname", "lastname", "email"})}); - * The following annotations tells the serializer to skip all properties which - * have not marked with @Expose. - * - * @ExclusionPolicy("all") */ class Person { -- 2.34.1