In the Philosophy, you may have two edges of relationships: the new buying front as well as the inverse front side
Symfony are only able to make the plural-to-just one conversion (elizabeth.grams. regarding labels property for the addTag() method) to own English terms. Code written in any other language won’t behave as asked.
To store the latest tags with Philosophy, you really need to believe a few a lot more some thing. Very first, if jaumo masaüstü you don’t iterate overall of your the latest Mark items and you can telephone call $entityManager->persist($tag) for each, you are getting a mistake from Philosophy:
To fix that it, you may choose to «cascade» new persevere process immediately in the Task target to any related tags. To take action, are the cascade option to your ManyToMany metadata:
- Annotations
- YAML
- XML
A second potential question works together with the new Running Front and Inverse Edge of Dple, in case the «owning» section of the matchmaking is «Task», then dedication will continue to work as labels was properly additional to the Task. Yet not, in case your getting front side is found on «Tag», then you’ll must do more try to ensure that the correct section of the dating are changed.
The trick is to make sure that new single «Task» is determined on every «Tag». Ver mas
