18 lines
337 B
PHP
18 lines
337 B
PHP
<?php
|
|
|
|
namespace App\Services\SchoolIds;
|
|
|
|
use App\Services\SchoolIdService;
|
|
|
|
class SchoolIdAssignmentService
|
|
{
|
|
public function __construct(private SchoolIdService $schoolIdService)
|
|
{
|
|
}
|
|
|
|
public function assignToUser(int $userId): ?string
|
|
{
|
|
return $this->schoolIdService->assignSchoolIdToUser($userId);
|
|
}
|
|
}
|