diff --git a/snikket/Stanza.hx b/snikket/Stanza.hx index 06784fa..d29c324 100644 --- a/snikket/Stanza.hx +++ b/snikket/Stanza.hx @@ -133,14 +133,16 @@ class Stanza implements NodeInterface { return this; } - public function addChildren(children:Iterable) { + @:allow(snikket) + private function addChildren(children:Iterable) { for (child in children) { addChild(child); } return this; } - public function addChildNodes(children:Iterable) { + @:allow(snikket) + private function addChildNodes(children:Iterable) { for (child in children) { addDirectChild(child); }