Ejemplo n.º 1
0
 /**
  * If the current node is descendant of the given node
  * @param NodeInterface $node
  * @return boolean
  * @nestedSetMethod
  */
 public function isDescendantOf(NodeInterface $node)
 {
     $isAncestor = $node->isAncestorOf($this);
     return $isAncestor;
 }