repositories
/
Project_proches_de_moi-server.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Test and fixes every REST ressources already implemented.
[Project_proches_de_moi-server.git]
/
src
/
Entity
/
Localisation.php
diff --git
a/src/Entity/Localisation.php
b/src/Entity/Localisation.php
index b85a705bca5acfb4d1a2a3c202df708ec2feca62..25ee27e7634e01b342df0d8319a73af27951995c 100644
(file)
--- a/
src/Entity/Localisation.php
+++ b/
src/Entity/Localisation.php
@@
-19,7
+19,7
@@
class Localisation
protected $id;
/**
protected $id;
/**
- * @ORM\ManyToOne(targetEntity="App\Entity\Person"
, cascade={"all"}
)
+ * @ORM\ManyToOne(targetEntity="App\Entity\Person")
*/
protected $person;
*/
protected $person;
@@
-72,6
+72,12
@@
class Localisation
return $this;
}
return $this;
}
+ public function setPerson($person)
+ {
+ $this->person = $person;
+ return $this;
+ }
+
public function setTimestamp($timestamp)
{
$this->timestamp = $timestamp;
public function setTimestamp($timestamp)
{
$this->timestamp = $timestamp;