v2board/app/Listeners/ServerLogSaveListener.php
2019-11-05 00:03:22 +08:00

31 lines
526 B
PHP

<?php
namespace App\Listeners;
use App\Events\ServerLogSaveEvent;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Contracts\Queue\ShouldQueue;
class ServerLogSaveListener
{
/**
* Create the event listener.
*
* @return void
*/
public function __construct()
{
//
}
/**
* Handle the event.
*
* @param ServerLogSaveEvent $event
* @return void
*/
public function handle(ServerLogSaveEvent $event) {
info($event->serverLog);
}
}