mirror of
https://github.com/v2board/v2board.git
synced 2025-02-25 14:50:26 +08:00
30 lines
525 B
PHP
30 lines
525 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($event->serverLog);
|
|
}
|
|
} |