update project
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Domain\SchoolCore\Guardians\Data;
|
||||
|
||||
final readonly class GuardianRelationshipData
|
||||
{
|
||||
public function __construct(public int $guardianId, public string $relationship, public bool $isPrimary = false) {}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
# Guardians
|
||||
|
||||
Neutral SchoolCore module boundary. Keep domain-specific vocabulary in extension modules.
|
||||
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Domain\SchoolCore\Guardians\Services;
|
||||
|
||||
use App\Domain\SchoolCore\Contracts\GuardianServiceContract;
|
||||
|
||||
final class GuardianService implements GuardianServiceContract
|
||||
{
|
||||
public function attachGuardian($context, int $studentId, $data): void {}
|
||||
public function detachGuardian($context, int $studentId, int $guardianId): void {}
|
||||
public function listForStudent($context, int $studentId): array { return []; }
|
||||
}
|
||||
Reference in New Issue
Block a user