Between the two ways of writing route action, which is the fastest and most efficient?
Route::get('halo', [Api\V1\Client\HomeController::class, 'index']);
// or
Route::get('halo', "App\Http\Controllers\Api\V1\Client\HomeController@index");
In this case, I have almost 500 routers, does the writing method of the two routers affect? Thanks in advance.