mirror of
https://gitlab.com/signalytic/client-external/streamline/streamline-emr.git
synced 2026-09-11 18:51:31 +00:00
44 lines
1.1 KiB
PHP
Executable File
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();
|
|
|
|
//
|
|
}
|
|
}
|