how use same method in another class in laravel
public $doctorController;
public function __construct(){
$this->doctorController = new DoctorController();
}
public function index (Request $request){
return $this->doctorController->index($request);
}