Files
streamline-emr/docker/_streamline-src/app/Providers/EventServiceProvider.php
T

44 lines
1.1 KiB
PHP
Executable File

<?php
namespace Streamline\Providers;
use Illuminate\Support\Facades\Event;
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
class EventServiceProvider extends ServiceProvider{
/**
* The event listener mappings for the application.
*
* @var array
*/
protected $listen = [
'Streamline\Events\Event' => [
'Streamline\Listeners\EventListener',
],
'Illuminate\Auth\Events\Failed' => [
'Streamline\Listeners\RecordFailedLoginAttempt',
],
// \Illuminate\Auth\Events\Failed::class => [
// \Streamline\Listeners\RecordFailedLoginAttempt::class,
// ],
/*'Illuminate\Auth\Events\Login' => [
'Streamline\Listeners\LogSuccessfulLogin',
],
'Illuminate\Auth\Events\Logout' => [
'Streamline\Listeners\LogSuccessfulLogout',
],*/
];
/**
* Register any events for your application.
*
* @return void
*/
public function boot(){
parent::boot();
//
}
}