2022-05-28 19:36:26 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Pterodactyl\Providers;
|
|
|
|
|
|
|
|
use Illuminate\Support\ServiceProvider;
|
2022-10-14 16:59:20 +00:00
|
|
|
use Pterodactyl\Services\Activity\ActivityLogBatchService;
|
2022-05-28 19:36:26 +00: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 16:59:20 +00:00
|
|
|
$this->app->scoped(ActivityLogBatchService::class);
|
2022-05-28 19:36:26 +00:00
|
|
|
$this->app->scoped(ActivityLogTargetableService::class);
|
|
|
|
}
|
|
|
|
}
|