Level 9
Its right there in the bootstrap https://github.com/laravel/lumen/blob/master/bootstrap/app.php#L96
1 like
$app->group(['namespace'=> '\Tback\PrometheusExporter'], function() use ($app){
$app->get('metrics', ['as' => 'metrics', 'uses'=> 'LpeController@metrics']);
});
This route produces the following Exception:
Class App\Http\Controllers\Tback\PrometheusExporter\LpeController does not exist```
This is very odd to me. Why does Lumen prepend the namespace? It look very much like a lumen bug to me.
Its right there in the bootstrap https://github.com/laravel/lumen/blob/master/bootstrap/app.php#L96
Please or to participate in this conversation.