mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 02:58:43 +02:00
N°8772 - XML description wip
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user