__construct() __construct( $nodeId) : void The constructor assigns the node a unique ID. Parameters $nodeId