isUpToDate()) { $this->setParticipationStatus(ConpherenceParticipationStatus::UP_TO_DATE); $this->save(); } return $this; } public function isUpToDate() { return $this->getParticipationStatus() == ConpherenceParticipationStatus::UP_TO_DATE; } }