From: Jérôme Benoit Date: Thu, 28 Jun 2018 08:12:05 +0000 (+0200) Subject: Remove exposition policy. X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=eaccb96ea30d1e2f0789ab34d87deb8049df62b9;p=Project_proches_de_moi-server.git Remove exposition policy. Signed-off-by: Jérôme Benoit --- 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 {