Just found a use case of this.
$routes = \Route::getRoutes();
$caller = fn() => $this->routes;
dd($caller->call($routes)['GET']);
Very useful, thank you.
Just found a use case of this.
$routes = \Route::getRoutes();
$caller = fn() => $this->routes;
dd($caller->call($routes)['GET']);
Very useful, thank you.