protected override PHP.Core.Reflection.DObject CloneObjectInternal(PHP.Core.Reflection.DTypeDesc caller, ScriptContext context, bool deepCopyFields) { if (IsAssociated) { return(new DOMProcessingInstruction(XmlProcessingInstruction)); } else { DOMProcessingInstruction copy = new DOMProcessingInstruction(); copy.__construct(this._name, this._value); return(copy); } }
protected override PHP.Core.Reflection.DObject CloneObjectInternal(PHP.Core.Reflection.DTypeDesc caller, ScriptContext context, bool deepCopyFields) { if (IsAssociated) return new DOMProcessingInstruction(XmlProcessingInstruction); else { DOMProcessingInstruction copy = new DOMProcessingInstruction(); copy.__construct(this._name, this._value); return copy; } }