public function attachLeft(BinaryNode $node) : void
    {
        $node->setParent($this);

        $this->left = $node;
    }
public function attachLeft(BinaryNode $node) : void
    {
        $node->setParent($this);

        $this->left = $node;
    }
public function attachLeft ( BinaryNode $ node ) : void { $ node -> setParent ( $ this ) ; $ this -> left = $ node ; }
Set the left child node.

@param self $node
Set the left child node .