Closed robov closed 1 year ago
if you do not want to import the full namespace, you should not use the ::class syntax.
It is not really a bug since the WebhookController::class
does not exist and it has a namespace.
You better pass it as a string: 'WebhookController'
in this case the namespace is in the use statement :
use App\Core\Billing\DebtCollection\Controllers\WebhookController;
and
this Name::class is the laravel perferred way over a stringy version of 'class'
So I do not completely understand what is wrong in my case
could you please upload a summary of the route file? Since the screen shots do not include the use statements at the top.
sure
Not able to reproduce it.
this generates a class not exists
When commenting out other code results in no errors