Skip to content

Commit

Permalink
feat: Update namespace in DispatchMatchkitsJob to
Browse files Browse the repository at this point in the history
  • Loading branch information
sweep-ai[bot] committed Mar 12, 2024
1 parent fcf41d7 commit 27c05eb
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions src/Jobs/DispatchMatchkitsJob.php
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();
}
}

0 comments on commit 27c05eb

Please sign in to comment.