add more controller
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
<?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),
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user