X-Git-Url: https://git.piment-noir.org/?p=Project_proches_de_moi-server.git;a=blobdiff_plain;f=src%2FEntity%2FLocalisation.php;fp=src%2FEntity%2FLocalisation.php;h=25ee27e7634e01b342df0d8319a73af27951995c;hp=b85a705bca5acfb4d1a2a3c202df708ec2feca62;hb=3d47ccc80097bec1a6890e103357d7c7cf0cff87;hpb=f0640a5242b2a959068696eed3d41c37d07633a7 diff --git a/src/Entity/Localisation.php b/src/Entity/Localisation.php index b85a705..25ee27e 100644 --- a/src/Entity/Localisation.php +++ b/src/Entity/Localisation.php @@ -19,7 +19,7 @@ class Localisation protected $id; /** - * @ORM\ManyToOne(targetEntity="App\Entity\Person", cascade={"all"}) + * @ORM\ManyToOne(targetEntity="App\Entity\Person") */ protected $person; @@ -72,6 +72,12 @@ class Localisation return $this; } + public function setPerson($person) + { + $this->person = $person; + return $this; + } + public function setTimestamp($timestamp) { $this->timestamp = $timestamp;