<?php

declare(strict_types=1);

namespace NoahVet\Reef\Security\IAM\Mapper;

use NoahVet\Reef\Security\IAM\Model\Resource;

/**
 * Map an internal entity to an IAM Resource ID.
 */
interface InternalResourceMapperInterface
{
    public function canMap(mixed $entity): bool;

    public function mapResource(mixed $entity): Resource;
}
