public function getParent()
	{
		if ( ! $this->hasParent()) {
			return null;
		}
		$parents = $this->getAncestors(1);
		if ( ! isset($parents[0])) {
			$dump = static::dump($this);
			throw new Exception\InvalidStructure("Parent node was not found for {$dump} but must exist");
		}
		$parent = $parents[0];
		
		return $parent;
	}
public function getParent()
	{
		if ( ! $this->hasParent()) {
			return null;
		}
		$parents = $this->getAncestors(1);
		if ( ! isset($parents[0])) {
			$dump = static::dump($this);
			throw new Exception\InvalidStructure("Parent node was not found for {$dump} but must exist");
		}
		$parent = $parents[0];
		
		return $parent;
	}
public function getParent ( ) { if ( ! $ this -> hasParent ( ) ) { return null ; } $ parents = $ this -> getAncestors ( 1 ) ; if ( ! isset ( $ parents [ 0 ] ) ) { $ dump = static :: dump ( $ this ) ; throw new Exception \ InvalidStructure ( "Parent node was not found for {$dump} but must exist" ) ; } $ parent = $ parents [ 0 ] ; return $ parent ; }
Get node's parent node
@return NodeAbstraction
@nestedSetMethod
Get node s parent node