2015-12-06 19:58:49 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Pterodactyl\Providers;
|
|
|
|
|
2018-07-01 23:34:40 +02:00
|
|
|
use Pterodactyl\Events\Server\Installed as ServerInstalledEvent;
|
|
|
|
use Pterodactyl\Notifications\ServerInstalled as ServerInstalledNotification;
|
2015-12-06 19:58:49 +01:00
|
|
|
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
|
|
|
|
|
|
|
|
class EventServiceProvider extends ServiceProvider
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* The event listener mappings for the application.
|
|
|
|
*
|
|
|
|
* @var array
|
|
|
|
*/
|
2018-07-01 23:34:40 +02:00
|
|
|
protected $listen = [
|
|
|
|
ServerInstalledEvent::class => [
|
|
|
|
ServerInstalledNotification::class,
|
|
|
|
],
|
|
|
|
];
|
2015-12-06 19:58:49 +01:00
|
|
|
}
|