/**
  * @param EncoderNodeChild $child Child you want to add to the node
  * @return false|EncoderNodeChild Return child object if succeeded. Returns false if it failed
  */
 public function addChild(EncoderNodeChild $child)
 {
     $nodeName = $child->getChildNodeName();
     if ($this->childExists($nodeName)) {
         return false;
     }
     $this->children[$nodeName] = $child;
     return $child;
 }