<?php

declare(strict_types=1);

namespace App\Shared\Infrastructure\Security;

use App\Shared\Infrastructure\Tenant\TenantId;

/**
 * Interface for domain objects that belong to a specific tenant.
 * Used by TenantVoter to enforce cross-tenant access control.
 */
interface TenantAwareInterface
{
    public function getTenantId(): TenantId;
}
