public function getNextSibling()
    {
        return (new Query())
            ->where(['parent_nav_id' => $this->parentNavId, 'container' => $this->container])
            ->andWhere(['>', 'sort_index', $this->sortIndex])
            ->with($this->_with)
            ->lang($this->lang)
            ->orderBy(['sort_index' => SORT_ASC])
            ->one();
    }
public function getNextSibling()
    {
        return (new Query())
            ->where(['parent_nav_id' => $this->parentNavId, 'container' => $this->container])
            ->andWhere(['>', 'sort_index', $this->sortIndex])
            ->with($this->_with)
            ->lang($this->lang)
            ->orderBy(['sort_index' => SORT_ASC])
            ->one();
    }
public function getNextSibling ( ) { return ( new Query ( ) ) -> where ( [ 'parent_nav_id' => $ this -> parentNavId , 'container' => $ this -> container ] ) -> andWhere ( [ '>' , 'sort_index' , $ this -> sortIndex ] ) -> with ( $ this -> _with ) -> lang ( $ this -> lang ) -> orderBy ( [ 'sort_index' => SORT_ASC ] ) -> one ( ) ; }
Get the next sibling in the current siblings list.

If there is no next sibling (assuming its the last sibling item in the list) false is returned, otherwise the {{luya\cms\menu\Item}} is returned.

@return \luya\cms\menu\Item|boolean Returns the next sibling based on the current sibling, if not found false is returned.
Get the next sibling in the current siblings list .