src/Franzose/ClosureTable/Models/Entity.php
public function getNextAfterLastPosition($parentId = false)
    {
        $position = $this->getLastPosition($parentId);
        return $position === null ? 0 : $position + 1;
    }
public function getNextAfterLastPosition($parentId = false)
    {
        $position = $this->getLastPosition($parentId);
        return $position === null ? 0 : $position + 1;
    }
public function getNextAfterLastPosition ( $ parentId = false ) { $ position = $ this -> getLastPosition ( $ parentId ) ; return $ position === null ? 0 : $ position + 1 ; }
Gets the next sibling position after the last one at the given ancestor.

@param int|bool $parentId
@return int
Gets the next sibling position after the last one at the given ancestor .