private static function parse(\DOMElement
$element): array
{ $values =
[];
foreach ($element->childNodes
as $child) { if (!
$child instanceof \DOMElement
) { continue;
} // translated
if (\
in_array($child->tagName, self::TRANSLATABLE_FIELDS, true
)) { $values = self::
mapTranslatedTag($child,
$values);
continue;
} if (\
in_array($child->nodeName, self::BOOLEAN_FIELD, true
)) { $values[$child->nodeName
] =
$child->nodeValue === 'true';
continue;
} if ($child->nodeName === 'requirements'
) {