public function registerNodeType(NodeTypeDefinitionInterface $ntd, $allowUpdate) { $this->registerNodeTypes(array($ntd), $allowUpdate); return each($ntd); }