src/Franzose/ClosureTable/Models/Entity.php
protected function insertNode()
    {
        $descendant = $this->getKey();
        $ancestor = (isset($this->parent_id) ? $this->parent_id : $descendant);

        $this->closure->insertNode($ancestor, $descendant);
    }
protected function insertNode()
    {
        $descendant = $this->getKey();
        $ancestor = (isset($this->parent_id) ? $this->parent_id : $descendant);

        $this->closure->insertNode($ancestor, $descendant);
    }
protected function insertNode ( ) { $ descendant = $ this -> getKey ( ) ; $ ancestor = ( isset ( $ this -> parent_id ) ? $ this -> parent_id : $ descendant ) ; $ this -> closure -> insertNode ( $ ancestor , $ descendant ) ; }
Inserts new node to closure table.

@return void
Inserts new node to closure table .