You've already forked Php-Template
All checks were successful
🧪✨ Tests Workflow / 🛡️ 🔒 License Check (push) Successful in 1m34s
🧪✨ Tests Workflow / 🧪 ✨ Database Migrations (push) Successful in 1m45s
🧪✨ Tests Workflow / 🛡️ 🔒 Library Audit (push) Successful in 1m51s
🧪✨ Tests Workflow / 📝 ✨ Code Lint (push) Successful in 1m42s
🧪✨ Tests Workflow / 🐙 🔍 Code Sniffer (push) Successful in 1m50s
🧪✨ Tests Workflow / 🧪 ✅ Unit Tests (push) Successful in 1m17s
19 lines
388 B
PHP
19 lines
388 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Siteworxpro\App\Services\ServiceProviders;
|
|
|
|
use Illuminate\Support\ServiceProvider;
|
|
use Siteworxpro\App\Events\Dispatcher;
|
|
|
|
class DispatcherServiceProvider extends ServiceProvider
|
|
{
|
|
public function register(): void
|
|
{
|
|
$this->app->singleton(Dispatcher::class, function () {
|
|
return new Dispatcher();
|
|
});
|
|
}
|
|
}
|