Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mathieu
potage
Commits
c75886b4
Commit
c75886b4
authored
Aug 22, 2018
by
Mat
Browse files
cascade persist sur une one2one (non testé)
peut-être faudra-t-il défaire !
parent
2ce6a7a1
Changes
1
Show whitespace changes
Inline
Side-by-side
src/PotageBundle/Entity/Groupe.php
View file @
c75886b4
...
...
@@ -34,7 +34,7 @@ class Groupe
/**
* @var
* @ORM\OneToOne(targetEntity="PotageBundle\Entity\Depot", mappedBy="groupe")
* @ORM\OneToOne(targetEntity="PotageBundle\Entity\Depot", mappedBy="groupe"
, cascade={"persist"}
)
* @Serializer\Groups({"readGroupes"})
*/
private
$depot
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment