X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2FEntity%2FPerson.php;h=d401cc32432f16311220f818c8a775440b4729dc;hb=4c4feb3e3193703f6cfa44ca711092a8acb38329;hp=91ffc15938e668db97b2eddcdc2cacfa40252e34;hpb=d70022a0a4329a97ee2f996678801d824dbe818c;p=Project_proches_de_moi-server.git diff --git a/src/Entity/Person.php b/src/Entity/Person.php index 91ffc15..d401cc3 100644 --- a/src/Entity/Person.php +++ b/src/Entity/Person.php @@ -3,17 +3,11 @@ namespace App\Entity; use Doctrine\Common\Collections\ArrayCollection; use Doctrine\ORM\Mapping as ORM; -use JMS\Serializer\Annotation\ExclusionPolicy; -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 {