2022-05-28 15:36:26 -04:00
|
|
|
<?php
|
|
|
|
|
|
2024-03-12 22:39:16 -04:00
|
|
|
namespace App\Providers;
|
2022-05-28 15:36:26 -04:00
|
|
|
|
2024-03-12 22:39:16 -04:00
|
|
|
use App\Services\Activity\ActivityLogTargetableService;
|
2025-09-24 13:34:19 +02:00
|
|
|
use Illuminate\Support\ServiceProvider;
|
2022-05-28 15:36:26 -04:00
|
|
|
|
|
|
|
|
class ActivityLogServiceProvider extends ServiceProvider
|
|
|
|
|
{
|
|
|
|
|
/**
|
|
|
|
|
* Registers the necessary activity logger singletons scoped to the individual
|
|
|
|
|
* request instances.
|
|
|
|
|
*/
|
2024-03-19 21:12:27 -04:00
|
|
|
public function register(): void
|
2022-05-28 15:36:26 -04:00
|
|
|
{
|
|
|
|
|
$this->app->scoped(ActivityLogTargetableService::class);
|
|
|
|
|
}
|
|
|
|
|
}
|