-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Update namespace in DispatchMatchkitsJob to
- Loading branch information
1 parent
fcf41d7
commit 27c05eb
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?php | ||
|
||
namespace Src\Jobs; | ||
|
||
use Illuminate\Bus\Queueable; | ||
use Illuminate\Contracts\Queue\ShouldQueue; | ||
use Illuminate\Foundation\Bus\Dispatchable; | ||
use Illuminate\Queue\InteractsWithQueue; | ||
use Illuminate\Queue\SerializesModels; | ||
use LiburuGenealogy\PhpDna\Matchkits; | ||
|
||
class DispatchMatchkitsJob implements ShouldQueue | ||
{ | ||
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels; | ||
|
||
protected $matchkits; | ||
|
||
public function __construct(Matchkits $matchkits) | ||
{ | ||
$this->matchkits = $matchkits; | ||
} | ||
|
||
public function handle() | ||
{ | ||
// Logic to process matchkits | ||
$this->matchkits->process(); | ||
} | ||
} |