Files
pterodactyl-panel/app/Providers/ActivityLogServiceProvider.php
T
6c0413e39b Start 2.0 development
Co-authored-by: Anthony <anthony@infraly.co>
Co-authored-by: Sky Mulley <daniel.mulley@outlook.com>
2026-10-05 18:10:18 -04:00

23 lines
591 B
PHP

<?php
declare(strict_types=1);
namespace Pterodactyl\Providers;
use Illuminate\Support\ServiceProvider;
use Pterodactyl\Services\Activity\ActivityLogBatchService;
use Pterodactyl\Services\Activity\ActivityLogTargetableService;
class ActivityLogServiceProvider extends ServiceProvider
{
/**
* Registers the necessary activity logger singletons scoped to the individual
* request instances.
*/
public function register(): void
{
$this->app->scoped(ActivityLogBatchService::class);
$this->app->scoped(ActivityLogTargetableService::class);
}
}