module dependency validation moved in a core folder + cleanup dedicated unit/integration tests

This commit is contained in:
odain
2025-09-11 12:09:24 +02:00
parent 64bec2181f
commit e37322e631
5 changed files with 129 additions and 155 deletions

View File

@@ -0,0 +1,27 @@
<?php
class XmlModuleMetaInfo {
public string $sLastNodeId;
public string $sNodeName;
public string $sPath;
public string $sDelta;
public function __construct(string $sLastNodeId, string $sNodeName, string $sPath, string $sDelta)
{
$this->sLastNodeId = $sLastNodeId;
$this->sNodeName = $sNodeName;
$this->sPath = $sPath;
$this->sDelta = $sDelta;
}
public function IsDefine() : bool {
return
$this->sDelta === 'define_if_not_exists'
|| $this->sDelta === 'define';
}
public function GetUID() : string
{
return $this->sNodeName . '_' . $this->sPath;
}
}