N°8772 - XML description wip

This commit is contained in:
Eric Espie
2025-12-04 10:40:20 +01:00
parent 099b996c9a
commit 4e6c12b903
4 changed files with 35 additions and 10 deletions

View File

@@ -11,6 +11,8 @@ use Combodo\iTop\PropertyTree\ValueType\AbstractValueType;
abstract class AbstractProperty
{
/** @var array<AbstractProperty> */
protected array $aChildren;
private ?AbstractValueType $oValueType;
public function GetValueType(): ?AbstractValueType
@@ -23,4 +25,13 @@ abstract class AbstractProperty
$this->oValueType = $oValueType;
}
public function AddChild(AbstractValueType $oValueType): void
{
$this->aChildren[] = $oValueType;
}
public function GetChildren(): array
{
return $this->aChildren;
}
}