Permalink
Fetching contributors…
Cannot retrieve contributors at this time
29 lines (25 sloc) 572 Bytes
<?php
namespace Doctrine\ODM\PHPCR;
/**
* Interface for objects that resolve to the node type nt:hierarchyNode, like
* the File and Folder documents.
*
* @see http://wiki.apache.org/jackrabbit/nt:hierarchyNode
*/
interface HierarchyInterface
{
/**
* Get the parent document of this document.
*
* @return object|null
*/
public function getParentDocument();
/**
* Set the parent document for this document.
*
* @param object $parent
*
* @return $this
*/
public function setParentDocument($parent);
}