19 lines
367 B
PHP
19 lines
367 B
PHP
<?php
|
|
|
|
namespace App\Services\Inventory;
|
|
|
|
use App\Models\Configuration;
|
|
|
|
class InventoryContextService
|
|
{
|
|
public function schoolYear(): string
|
|
{
|
|
return trim((string) (Configuration::getConfig('school_year') ?? ''));
|
|
}
|
|
|
|
public function semester(): string
|
|
{
|
|
return trim((string) (Configuration::getConfig('semester') ?? ''));
|
|
}
|
|
}
|