private array $languages;
/**
* @var array<string, string>|null
*/
private ?array $languageCodeIdMapping;
private WriteException $exceptions;
private function __construct(private Context $context)
{
$this->exceptions = new WriteException();
}
/**
* @param LanguageData $languages
*/
public function setLanguages(array $languages): void
{
$this->languages = $languages;
$this->languageCodeIdMapping = null;
}