Files
2026-03-10 00:48:32 -04:00

23 lines
810 B
PHP

<?php
namespace App\Services\Parents;
use App\Models\Configuration;
class ParentConfigService
{
public function context(): array
{
return [
'date_age_reference' => Configuration::getConfig('date_age_reference'),
'enrollment_deadline' => Configuration::getConfig('enrollment_deadline'),
'fall_semester_start' => Configuration::getConfig('fall_semester_start'),
'refund_deadline' => Configuration::getConfig('refund_deadline'),
'school_year' => Configuration::getConfig('school_year'),
'semester' => Configuration::getConfig('semester'),
'max_kids' => (int) (Configuration::getConfig('max_kids') ?? 0),
'max_emergency' => (int) (Configuration::getConfig('max_emergency') ?? 0),
];
}
}