public function __construct(ValueInterface $nodeValue = null) { // initialize the UUID $this->setUuid($this->newUuid()); // set the data $this->nodeValue = $nodeValue; }