31 lines
484 B
PHP
31 lines
484 B
PHP
<?php
|
|
|
|
namespace App\Listeners;
|
|
|
|
use App\Events\ExampleEvent;
|
|
use Illuminate\Contracts\Queue\ShouldQueue;
|
|
use Illuminate\Queue\InteractsWithQueue;
|
|
|
|
class ExampleListener
|
|
{
|
|
/**
|
|
* Create the event listener.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function __construct()
|
|
{
|
|
//
|
|
}
|
|
|
|
/**
|
|
* Handle the event.
|
|
*
|
|
* @param ExampleEvent $event
|
|
* @return void
|
|
*/
|
|
public function handle(ExampleEvent $event)
|
|
{
|
|
//
|
|
}
|
|
}
|