2015-12-06 18:58:49 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Pterodactyl\Providers;
|
|
|
|
|
2018-07-01 21:34:40 +00:00
|
|
|
use Pterodactyl\Events\Server\Installed as ServerInstalledEvent;
|
|
|
|
use Pterodactyl\Notifications\ServerInstalled as ServerInstalledNotification;
|
2015-12-06 18:58:49 +00: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 21:34:40 +00:00
|
|
|
protected $listen = [
|
|
|
|
ServerInstalledEvent::class => [
|
|
|
|
ServerInstalledNotification::class,
|
|
|
|
],
|
|
|
|
];
|
2015-12-06 18:58:49 +00:00
|
|
|
}
|