. */ /** @noinspection PhpMultipleClassDeclarationsInspection */ namespace SP\Domain\Common\Attributes; use Attribute; /** * Class Encryptable */ #[Attribute(Attribute::TARGET_CLASS)] final class Encryptable { public function __construct(private readonly string $dataProperty, private readonly string $keyProperty) { } public function getDataProperty(): string { return $this->dataProperty; } public function getKeyProperty(): string { return $this->keyProperty; } }