/** * Renvoie les Visibles liés à l'objet * @return VisibleCollection */ public function getVisibles() { if (is_null($this->cacheVisibles)) { $this->cacheVisibles = VisibleBusiness::getByJoueur($this); $this->cacheVisibles->store(); } return $this->cacheVisibles; }
/** * @return void */ public function delete() { VisibleBusiness::delete($this); }