update project
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Domain\SchoolCore\Enrollment\Data;
|
||||
|
||||
final readonly class EnrollmentData
|
||||
{
|
||||
/** @param array<string, mixed> $metadata */
|
||||
public function __construct(public string $programKey, public ?string $term = null, public array $metadata = []) {}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
# Enrollment
|
||||
|
||||
Neutral SchoolCore module boundary. Keep domain-specific vocabulary in extension modules.
|
||||
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Domain\SchoolCore\Enrollment\Services;
|
||||
|
||||
use App\Domain\SchoolCore\Contracts\EnrollmentServiceContract;
|
||||
|
||||
final class EnrollmentService implements EnrollmentServiceContract
|
||||
{
|
||||
public function enroll($context, int $studentId, $data): void {}
|
||||
public function transfer($context, int $studentId, $data): void {}
|
||||
public function withdraw($context, int $studentId, string $reason): void {}
|
||||
}
|
||||
Reference in New Issue
Block a user