<?php

namespace App\Services\Administrator;

class AdministratorDashboardService
{
    public function __construct(
        protected AdministratorMetricsService $metricsService,
        protected AdministratorUserSearchService $userSearchService,
    ) {
    }

    public function metrics(): array
    {
        return $this->metricsService->metrics();
    }

    public function userSearch(string $query): array
    {
        return $this->userSearchService->search($query);
    }
}