add services logic
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace App\Services\System;
|
||||
|
||||
use App\Models\Configuration;
|
||||
|
||||
class GlobalConfigService
|
||||
{
|
||||
public function getSemester(): ?string
|
||||
{
|
||||
return Configuration::getConfig('semester');
|
||||
}
|
||||
|
||||
public function getSchoolYear(): ?string
|
||||
{
|
||||
return Configuration::getConfig('school_year');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user