Esempio n. 1
0
 /**
  * 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;
 }
Esempio n. 2
0
 /**
  * @return void
  */
 public function delete()
 {
     VisibleBusiness::delete($this);
 }