Event listeners are autowired

This commit is contained in:
Víctor Falcón 2025-12-17 09:46:44 +01:00
parent 095f9ea94e
commit da7d32771e
1 changed files with 1 additions and 4 deletions

View File

@ -3,9 +3,6 @@
namespace App\Providers;
use App\Http\Responses\RegisterResponse;
use App\Listeners\ScheduleDripEmailsListener;
use Illuminate\Auth\Events\Registered;
use Illuminate\Support\Facades\Event;
use Illuminate\Support\ServiceProvider;
use Laravel\Fortify\Contracts\RegisterResponse as RegisterResponseContract;
@ -24,6 +21,6 @@ class AppServiceProvider extends ServiceProvider
*/
public function boot(): void
{
Event::listen(Registered::class, ScheduleDripEmailsListener::class);
//
}
}