/** * Returns the participants. * * @return Participant[] */ public function getParticipants() { if ($this->participants === null && $this->_repository !== null) { $this->_repository->injectParticipants($this); } return $this->participants ?: array(); }