mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
(to rebase/fixup later) Let Goal be associated to a Result.
This commit is contained in:
parent
3b5ef53b9b
commit
4a2ada784a
@ -172,6 +172,9 @@ final class SocialWorkMetadata implements SocialWorkMetadataInterface
|
||||
|
||||
if (null !== $goal) {
|
||||
$result->addGoal($goal);
|
||||
$goal->addResult($result);
|
||||
|
||||
$this->entityManager->persist($goal);
|
||||
} else {
|
||||
$result->addSocialAction($socialAction);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user