public function getNextSibling(ConnectionInterface $con = null)
    {
        return ChildCategoryQuery::create()
            ->filterByTreeLeft($this->getRightValue() + 1)
            ->findOne($con);
    }
public function getNextSibling(ConnectionInterface $con = null)
    {
        return ChildCategoryQuery::create()
            ->filterByTreeLeft($this->getRightValue() + 1)
            ->findOne($con);
    }
public function getNextSibling ( ConnectionInterface $ con = null ) { return ChildCategoryQuery :: create ( ) -> filterByTreeLeft ( $ this -> getRightValue ( ) + 1 ) -> findOne ( $ con ) ; }
Gets next sibling for the given node if it exists

@param      ConnectionInterface $con Connection to use.
@return     ChildCategory|null         Propel object if exists else null
Gets next sibling for the given node if it exists