mirror of
https://github.com/v2board/v2board.git
synced 2025-01-25 23:49:09 +08:00
30 lines
537 B
PHP
30 lines
537 B
PHP
|
<?php
|
||
|
|
||
|
namespace App\Listeners;
|
||
|
|
||
|
use App\Events\ServerCreatedEvent;
|
||
|
use Illuminate\Queue\InteractsWithQueue;
|
||
|
use Illuminate\Contracts\Queue\ShouldQueue;
|
||
|
|
||
|
class ServerCreatedListener
|
||
|
{
|
||
|
/**
|
||
|
* Create the event listener.
|
||
|
*
|
||
|
* @return void
|
||
|
*/
|
||
|
public function __construct()
|
||
|
{
|
||
|
//
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* Handle the event.
|
||
|
*
|
||
|
* @param ServerCreatedEvent $event
|
||
|
* @return void
|
||
|
*/
|
||
|
public function handle(ServerCreatedEvent $event) {
|
||
|
info('listener', $event->serverLog);
|
||
|
}
|
||
|
}
|