/** * Pobieranie listy użytkowników */ public function listUsers($id = null) { return User::orderBy('email')->lists('email', 'id'); }