<?php

namespace App\Services\PwHexParser\Contracts;

abstract class Translate
{
    protected string $typeKey = '';
    protected string $lang = 'pt-BR';

    public function setLang(string $lang = 'pt-BR'): void
    {
        $this->lang = $lang;
    }

    public function getTranslatedStructure(): array
    {
        // For now, return empty or implementation for loading JSON
        // In a real app, load from json files
        return [];
    }

    public function getClassFileName(): string
    {
        if (!empty($this->typeKey)) {
            return $this->typeKey;
        }
        return (new \ReflectionClass($this))->getShortName();
    }

    public function getStructure(): array
    {
        return [];
    }

    public function getMinimumLength(): int
    {
        return 0;
    }
}
