src/Franzose/ClosureTable/Models/Entity.php
protected function getLastChildPosition()
    {
        $lastChild = $this->getLastChild([$this->getPositionColumn()]);

        return (is_null($lastChild) ? 0 : $lastChild->position);
    }
protected function getLastChildPosition()
    {
        $lastChild = $this->getLastChild([$this->getPositionColumn()]);

        return (is_null($lastChild) ? 0 : $lastChild->position);
    }
protected function getLastChildPosition ( ) { $ lastChild = $ this -> getLastChild ( [ $ this -> getPositionColumn ( ) ] ) ; return ( is_null ( $ lastChild ) ? 0 : $ lastChild -> position ) ; }
Gets last child position.

@return int
Gets last child position .