2017-09-14 22:21:00 +03:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\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 = [
|
2017-10-02 16:26:45 +03:00
|
|
|
'App\Events\UpdateFinished' => [
|
2017-10-21 14:23:57 +03:00
|
|
|
'App\Listeners\Updates\Version106',
|
|
|
|
'App\Listeners\Updates\Version107',
|
2017-10-31 22:41:06 +03:00
|
|
|
'App\Listeners\Updates\Version108',
|
2017-11-20 17:28:15 +03:00
|
|
|
'App\Listeners\Updates\Version109',
|
2017-09-14 22:21:00 +03:00
|
|
|
],
|
|
|
|
'Illuminate\Auth\Events\Login' => [
|
|
|
|
'App\Listeners\Auth\Login',
|
|
|
|
],
|
|
|
|
'Illuminate\Auth\Events\Logout' => [
|
|
|
|
'App\Listeners\Auth\Logout',
|
|
|
|
],
|
2017-11-19 04:14:02 +03:00
|
|
|
'App\Events\InvoicePaid' => [
|
2017-11-19 02:52:01 +03:00
|
|
|
'App\Listeners\Incomes\Invoice\Paid',
|
|
|
|
],
|
2017-09-14 22:21:00 +03:00
|
|
|
];
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Register any events for your application.
|
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function boot()
|
|
|
|
{
|
|
|
|
parent::boot();
|
|
|
|
|
|
|
|
//
|
|
|
|
}
|
|
|
|
}
|