for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace App\Containers\User\Settings\Providers;
use App\Containers\User\Events\Events\UserCreatedEvent;
use App\Containers\User\Events\Handlers\UserCreatedEventHandler;
use App\Port\Event\Providers\PortEventsServiceProvider;
use Illuminate\Contracts\Events\Dispatcher as DispatcherContract;
/**
* Class EventsServiceProvider
*
* @author Mahmoud Zalt <[email protected]>
*/
class EventsServiceProvider extends PortEventsServiceProvider
{
* The event listener mappings for the application.
* @var array
protected $listen = [
UserCreatedEvent::class => [
UserCreatedEventHandler::class,
],
];
* Register any other events for your application.
* @param \Illuminate\Contracts\Events\Dispatcher $events
* @return void
public function boot(DispatcherContract $events)
parent::boot($events);
//
}