mirror of
https://github.com/nothingworksinc/ticketbeast.git
synced 2026-01-31 10:46:46 +00:00
144 - Testing the Event Listener
This commit is contained in:
26
app/Jobs/ProcessPosterImage.php
Normal file
26
app/Jobs/ProcessPosterImage.php
Normal file
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
|
||||
namespace App\Jobs;
|
||||
|
||||
use Illuminate\Bus\Queueable;
|
||||
use Illuminate\Queue\SerializesModels;
|
||||
use Illuminate\Queue\InteractsWithQueue;
|
||||
use Illuminate\Contracts\Queue\ShouldQueue;
|
||||
use Illuminate\Foundation\Bus\Dispatchable;
|
||||
|
||||
class ProcessPosterImage implements ShouldQueue
|
||||
{
|
||||
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
|
||||
|
||||
public $concert;
|
||||
|
||||
public function __construct($concert)
|
||||
{
|
||||
$this->concert = $concert;
|
||||
}
|
||||
|
||||
public function handle()
|
||||
{
|
||||
//
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user