2016-08-28 10:05:21 +08:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Providers;
|
|
|
|
|
2020-04-30 18:47:37 +08:00
|
|
|
use App\Listeners;
|
2016-08-28 10:05:21 +08:00
|
|
|
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
|
|
|
|
|
|
|
|
class EventServiceProvider extends ServiceProvider
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* The event listener mappings for the application.
|
|
|
|
*
|
|
|
|
* @var array
|
|
|
|
*/
|
|
|
|
protected $listen = [
|
2019-04-23 23:34:04 +08:00
|
|
|
'App\Events\PlayerRetrieved' => [
|
2020-04-30 18:47:37 +08:00
|
|
|
Listeners\ResetInvalidTextureForPlayer::class,
|
2019-04-23 23:34:04 +08:00
|
|
|
],
|
2019-05-07 15:16:53 +08:00
|
|
|
'App\Events\TextureDeleting' => [
|
|
|
|
'App\Listeners\TextureRemoved',
|
|
|
|
],
|
2019-08-12 15:21:50 +08:00
|
|
|
'App\Events\PluginWasEnabled' => [
|
2020-04-30 18:47:37 +08:00
|
|
|
Listeners\CopyPluginAssets::class,
|
|
|
|
Listeners\GeneratePluginTranslations::class,
|
2019-08-12 15:21:50 +08:00
|
|
|
],
|
2019-09-09 23:08:03 +08:00
|
|
|
'plugin.versionChanged' => [
|
2019-08-12 15:21:50 +08:00
|
|
|
'App\Listeners\CopyPluginAssets',
|
2019-09-07 23:20:16 +08:00
|
|
|
'App\Listeners\GeneratePluginTranslations',
|
2019-08-12 15:21:50 +08:00
|
|
|
],
|
2019-08-31 09:12:51 +08:00
|
|
|
'App\Events\PluginBootFailed' => [
|
2020-04-30 18:47:37 +08:00
|
|
|
Listeners\NotifyFailedPlugin::class,
|
2019-08-31 09:12:51 +08:00
|
|
|
],
|
2019-12-25 15:59:20 +08:00
|
|
|
'App\Events\RenderingHeader' => [
|
2020-04-30 18:47:37 +08:00
|
|
|
Listeners\SerializeGlobals::class,
|
|
|
|
],
|
2020-05-27 16:37:55 +08:00
|
|
|
'auth.registration.completed' => [
|
|
|
|
Listeners\SendEmailVerification::class,
|
|
|
|
],
|
2016-08-28 10:05:21 +08:00
|
|
|
];
|
|
|
|
}
|