So i want just a solution forHow do I get the $uid of the currentcurrently logged-in user insideID in the default controller class.?
Controllers have a currentUser
method:
public function filtrer($firstLetter='', $nbr_ligne='') {
$current_user_id = $this->currentUser()->id();
}