handle event PersonMoveEvent on Period

This commit is contained in:
2022-02-15 23:52:15 +01:00
parent 1658fee090
commit 0a4913f341
8 changed files with 495 additions and 63 deletions

View File

@@ -66,6 +66,7 @@ class AccompanyingPeriodParticipation
$this->startDate = new DateTime('now');
$this->accompanyingPeriod = $accompanyingPeriod;
$this->person = $person;
$person->getAccompanyingPeriodParticipations()->add($this);
}
public function getAccompanyingPeriod(): ?AccompanyingPeriod