diff --git a/Doctrine/Phpcr/File.php b/Doctrine/Phpcr/File.php index e4be180..78c854c 100644 --- a/Doctrine/Phpcr/File.php +++ b/Doctrine/Phpcr/File.php @@ -75,6 +75,14 @@ public function setParentDocument($parent) return $this; } + /** + * {@inheritdoc} + */ + public function getParent() + { + return $this->getParentDocument(); + } + /** * {@inheritdoc} */