This commit is contained in:
root
2019-12-17 17:12:27 +08:00
parent 89a8fc9a00
commit 7abcad6970
5 changed files with 74 additions and 3 deletions

View 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);
}
}