__construct()
__construct() : void
Create the event listener.
handle(\App\Events\Event $event) : void
Handle the event.
\App\Events\Event | $event |
<?php
namespace App\Listeners;
use App\Events\Event;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Contracts\Queue\ShouldQueue;
class EventListener
{
/**
* Create the event listener.
*
* @return void
*/
public function __construct()
{
//
}
/**
* Handle the event.
*
* @param Event $event
* @return void
*/
public function handle(Event $event)
{
//
}
}