mirror of
https://github.com/v2board/v2board.git
synced 2025-06-14 21:57:50 +08:00
update
This commit is contained in:
30
app/Listeners/ServerCreatedListener.php
Normal file
30
app/Listeners/ServerCreatedListener.php
Normal file
@ -0,0 +1,30 @@
|
||||
<?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);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user