You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
class UserServiceProvider extends EventServiceProvider
But this would not work, since it doesn't know EventServiceProvider
So I had to replace use Infrastructure\Events\EventServiceProvider;
with use Illuminate\Foundation\Support\Providers\EventServiceProvider;
in api/Users/UserServiceProvider.php
And also had to add the provider to config/app.php
The other way is to add file infrastructure/Events/EventServiceProvider.php with code
<?php
namespace Infrastructure\Events;
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
class EventServiceProvider extends ServiceProvider
{
}
Hey!
Just a quick one - UserServiceProvider references
use Infrastructure\Events\EventServiceProvider;
which does not seem to exist?
The text was updated successfully, but these errors were encountered: