<?php

namespace App\Services\Governance;

/*
|--------------------------------------------------------------------------
| Enterprise Governance Suite
| Pack 2500-C
|
| This service is the entry point for the Governance Dashboard.
| It does NOT access the database directly.
| It simply aggregates the output from the governance services.
|--------------------------------------------------------------------------
*/

final class GovernanceSummaryService
{
    public static function dashboard(): array
    {
        return [

            'workflow' => WorkflowHealthService::summary(),

            'submissions' => SubmissionIntegrityService::summary(),

            'reviewers' => ReviewerIntegrityService::summary(),

            'production' => ProductionIntegrityService::summary()

        ];
    }
}
