This commit is contained in:
@@ -234,6 +234,20 @@ class Services extends BaseService
|
||||
);
|
||||
}
|
||||
|
||||
public static function staffDirectorySync(bool $getShared = true): \App\Services\StaffDirectorySyncService
|
||||
{
|
||||
if ($getShared) {
|
||||
return static::getSharedInstance('staffDirectorySync');
|
||||
}
|
||||
|
||||
return new \App\Services\StaffDirectorySyncService(
|
||||
model(\App\Models\StaffModel::class),
|
||||
model(\App\Models\UserModel::class),
|
||||
model(\App\Models\ConfigurationModel::class),
|
||||
\Config\Database::connect()
|
||||
);
|
||||
}
|
||||
|
||||
public static function schoolYearManagement(bool $getShared = true): \App\Services\SchoolYearManagementService
|
||||
{
|
||||
if ($getShared) {
|
||||
|
||||
Reference in New Issue
Block a user