/** * @return void */ public function delete() { GroupeBusiness::delete($this); }
/** * Renvoie les Groupes liés à l'objet * @return GroupeCollection */ public function getGroupes() { if (is_null($this->cacheGroupes)) { $this->cacheGroupes = GroupeBusiness::getByUtilisateur($this); $this->cacheGroupes->store(); } return $this->cacheGroupes; }