Skip to content

Commit

Permalink
feat: Update DnaServiceProvider for new src/ direc
Browse files Browse the repository at this point in the history
  • Loading branch information
sweep-ai[bot] committed Mar 12, 2024
1 parent 5de11f3 commit fcf41d7
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions src/Providers/DnaServiceProvider.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?php

namespace Src\Providers;

use Illuminate\Support\ServiceProvider;
use Src\Jobs\DispatchMatchkitsJob;
use LiburuGenealogy\PhpDna\Matchkits;

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
}
}

0 comments on commit fcf41d7

Please sign in to comment.