add more controller
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
namespace App\Services\SchoolIds;
|
||||
|
||||
use App\Services\SchoolIdService;
|
||||
|
||||
class SchoolIdGenerationService
|
||||
{
|
||||
public function __construct(private SchoolIdService $schoolIdService)
|
||||
{
|
||||
}
|
||||
|
||||
public function generateStudentId(): string
|
||||
{
|
||||
return $this->schoolIdService->generateStudentSchoolId();
|
||||
}
|
||||
|
||||
public function generateUserId(): string
|
||||
{
|
||||
return $this->schoolIdService->generateUserSchoolId();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user