<?php

namespace MintyPHP\Service\Stats;

use MintyPHP\Repository\Stats\AdminStatsRepository;

class AdminStatsViewDataService
{
    public function __construct(
        private readonly AdminStatsRepository $adminStatsRepository
    ) {
    }

    /**
     * @return array<string, mixed>
     */
    public function build(): array
    {
        return $this->adminStatsRepository->buildViewData();
    }
}
