blessing-skin-server/app/Providers/EventServiceProvider.php

41 lines
1.1 KiB
PHP
Raw Normal View History

2016-08-28 10:05:21 +08:00
<?php
namespace App\Providers;
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 = [
'App\Events\PlayerRetrieved' => [
Listeners\ResetInvalidTextureForPlayer::class,
],
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' => [
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',
'App\Listeners\GeneratePluginTranslations',
2019-08-12 15:21:50 +08:00
],
2019-08-31 09:12:51 +08:00
'App\Events\PluginBootFailed' => [
Listeners\NotifyFailedPlugin::class,
2019-08-31 09:12:51 +08:00
],
2019-12-25 15:59:20 +08:00
'App\Events\RenderingHeader' => [
Listeners\SerializeGlobals::class,
],
'auth.registration.completed' => [
Listeners\SendEmailVerification::class,
],
2016-08-28 10:05:21 +08:00
];
}