RemexHtml/Serializer/Serializer.php
public function getLastChild( SerializerNode $node ) {
		$children = $node->children;
		$lastChildIndex = count( $children ) - 1;
		$lastChild = $lastChildIndex >= 0 ? $children[$lastChildIndex] : null;
		return $lastChild;
	}
public function getLastChild( SerializerNode $node ) {
		$children = $node->children;
		$lastChildIndex = count( $children ) - 1;
		$lastChild = $lastChildIndex >= 0 ? $children[$lastChildIndex] : null;
		return $lastChild;
	}
public function getLastChild ( SerializerNode $ node ) { $ children = $ node -> children ; $ lastChildIndex = count ( $ children ) - 1 ; $ lastChild = $ lastChildIndex >= 0 ? $ children [ $ lastChildIndex ] : null ; return $ lastChild ; }
Get the last child of a given SerializerNode

@param SerializerNode $node
@return SerializerNode|string|null
Get the last child of a given SerializerNode