2022-05-28 21:36:26 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Pterodactyl\Providers;
|
|
|
|
|
|
|
|
use Illuminate\Support\ServiceProvider;
|
2022-10-14 18:59:20 +02:00
|
|
|
use Pterodactyl\Services\Activity\ActivityLogBatchService;
|
2022-05-28 21:36:26 +02:00
|
|
|
use Pterodactyl\Services\Activity\ActivityLogTargetableService;
|
|
|
|
|
|
|
|
class ActivityLogServiceProvider extends ServiceProvider
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Registers the necessary activity logger singletons scoped to the individual
|
|
|
|
* request instances.
|
|
|
|
*/
|
|
|
|
public function register()
|
|
|
|
{
|
2022-10-14 18:59:20 +02:00
|
|
|
$this->app->scoped(ActivityLogBatchService::class);
|
2022-05-28 21:36:26 +02:00
|
|
|
$this->app->scoped(ActivityLogTargetableService::class);
|
|
|
|
}
|
|
|
|
}
|