lasthourcloud/app/Providers/AppServiceProvider.php

30 lines
604 B
PHP
Raw Normal View History

2023-03-17 15:33:48 +01:00
<?php
namespace App\Providers;
2023-03-30 09:47:04 +02:00
use Illuminate\Queue\Events\JobProcessed;
use Illuminate\Support\Facades\Queue;
2023-03-17 15:33:48 +01:00
use Illuminate\Support\ServiceProvider;
class AppServiceProvider extends ServiceProvider
{
/**
* Register any application services.
*/
public function register(): void
{
//
}
/**
* Bootstrap any application services.
*/
public function boot(): void
{
2023-03-30 09:47:04 +02:00
// @TODO: Should remove builder container here
// Queue::after(function (JobProcessed $event) {
// dd($event->job->resolveName());
// });
2023-03-17 15:33:48 +01:00
}
}