-
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: Add DnaServiceProvider for php-dna integrati
- Loading branch information
1 parent
fac5d94
commit fa5442f
Showing
1 changed file
with
21 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,21 @@ | ||
<?php | ||
|
||
namespace App\Providers; | ||
|
||
use Illuminate\Support\ServiceProvider; | ||
use App\Jobs\DispatchMatchkitsJob; | ||
|
||
class DnaServiceProvider extends ServiceProvider | ||
{ | ||
public function register() | ||
{ | ||
$this->app->bind('dispatchMatchkits', function($app) { | ||
return new DispatchMatchkitsJob(); | ||
}); | ||
} | ||
|
||
public function boot() | ||
{ | ||
// Optional: Add event listeners or other bootstrapping code necessary for the php-dna library integration | ||
} | ||
} |