0
public function boot() 
{ 
   //Criação de uma nova validação 
   \Validator::extend('unique_cpf', function ($attribute, $value, 
    $parameters, $validator) { 
          $value = str_replace(['.','-'],'', $value); 
          return ((DB::table('tab_medicos') 
         ->where('med_cpf','=', $value)->where('med_id', '=', 9964) 
         ->count()) == 1); 
   }); 
} 
Instead of the '9964' I want it to be the id, someone can help me?