/** * @return mixed */ public function listFormules() { return Formulecompet::where('nbplayers', '=', $this->nbplayers)->lists('libelle', 'id'); }