Remove exposition policy.
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Thu, 28 Jun 2018 08:12:05 +0000 (10:12 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Thu, 28 Jun 2018 08:12:05 +0000 (10:12 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
src/Entity/Person.php

index 91ffc15938e668db97b2eddcdc2cacfa40252e34..934b2be550db9866fda3b712ed807ae994ae6da4 100644 (file)
@@ -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
 {