public function getSiblings(AbstractNestedNode $node, $includeNode = false, $order = null, $limit = null, $start = 0)
    {
        return $this->createQueryBuilder('n')
                        ->andIsSiblingsOf($node, !$includeNode, $order, $limit, $start)
                        ->getQuery()
                        ->getResult();
    }
public function getSiblings(AbstractNestedNode $node, $includeNode = false, $order = null, $limit = null, $start = 0)
    {
        return $this->createQueryBuilder('n')
                        ->andIsSiblingsOf($node, !$includeNode, $order, $limit, $start)
                        ->getQuery()
                        ->getResult();
    }
public function getSiblings ( AbstractNestedNode $ node , $ includeNode = false , $ order = null , $ limit = null , $ start = 0 ) { return $ this -> createQueryBuilder ( 'n' ) -> andIsSiblingsOf ( $ node , ! $ includeNode , $ order , $ limit , $ start ) -> getQuery ( ) -> getResult ( ) ; }
Returns the siblings of the provided node.

@param  \BackBee\NestedNode\AbstractNestedNode   $node
@param  boolean                           $includeNode if TRUE, include $node in result array
@param  array                             $order       ordering spec
@param  int                               $limit       max number of results
@param  int                               $start       first result index
@return \BackBee\NestedNode\AbstractNestedNode[]
Returns the siblings of the provided node .