Adding spokenLanguages to Person (Entity and Form)

This commit is contained in:
Marc Ducobu
2014-11-26 13:02:21 +01:00
parent 8a65274fbc
commit ae36da3366
3 changed files with 41 additions and 3 deletions

View File

@@ -53,4 +53,9 @@ Chill\PersonBundle\Entity\Person:
targetEntity: PersonHistoryFile
mappedBy: person
cascade: [persist, remove, merge, detach]
manyToMany:
spokenLanguages:
targetEntity: Chill\MainBundle\Entity\Language
joinTable:
name: persons_spoken_languages
lifecycleCallbacks: { }