public function getDepthToOriginalContainer() {
		$depth = 0;
		$ancestry = $this->getAncestry();
		foreach ($ancestry as $a) {
			$ancestor = get_entity($a);
			if ($ancestor instanceof self) {
				$depth++;
			}
		}
		return $depth;
	}
public function getDepthToOriginalContainer() {
		$depth = 0;
		$ancestry = $this->getAncestry();
		foreach ($ancestry as $a) {
			$ancestor = get_entity($a);
			if ($ancestor instanceof self) {
				$depth++;
			}
		}
		return $depth;
	}
public function getDepthToOriginalContainer ( ) { $ depth = 0 ; $ ancestry = $ this -> getAncestry ( ) ; foreach ( $ ancestry as $ a ) { $ ancestor = get_entity ( $ a ) ; if ( $ ancestor instanceof self ) { $ depth ++ ; } } return $ depth ; }
Get nesting level of this comment
@return int
Get nesting level of this comment