public function __construct(ValueInterface $nodeValue = null, $enforced = false) { $this->nodeValue = $nodeValue; $this->enforced = $enforced; }