Returns the parent node of this node
public getParent ( ) : |
||
return | The parent node or NULL if this is the root node |
/** * @test */ public function getParentReturnsNullForARootNode() { $node = new NodeData('/', $this->mockWorkspace); $this->assertNull($node->getParent()); }