Neos.ContentRepository/Classes/Migration/Transformations/ChangeNodeType.php
public function execute(NodeData $node)
    {
        $nodeType = $this->nodeTypeManager->getNodeType($this->newType);
        $node->setNodeType($nodeType);
    }
public function execute(NodeData $node)
    {
        $nodeType = $this->nodeTypeManager->getNodeType($this->newType);
        $node->setNodeType($nodeType);
    }
public function execute ( NodeData $ node ) { $ nodeType = $ this -> nodeTypeManager -> getNodeType ( $ this -> newType ) ; $ node -> setNodeType ( $ nodeType ) ; }
Change the Node Type on the given node.

@param NodeData $node
@return void
Change the Node Type on the given node .