<?php

declare(strict_types=1);

namespace App\Scolarite\Domain\Repository;

use App\Scolarite\Domain\Model\Competency\CustomCompetencyLevel;
use App\Shared\Domain\Tenant\TenantId;

interface CustomCompetencyLevelRepository
{
    public function save(CustomCompetencyLevel $level): void;

    /** @return array<CustomCompetencyLevel> */
    public function findByTenant(TenantId $tenantId): array;

    public function hasByTenant(TenantId $tenantId): bool;
}
