Skip to content

Commit 6437034

Browse files
committed
add docblock about getParent
1 parent dcb4b52 commit 6437034

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Doctrine/Phpcr/Route.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
namespace Symfony\Cmf\Bundle\RoutingBundle\Doctrine\Phpcr;
44

55
use Doctrine\Common\Collections\Collection;
6+
use Doctrine\ODM\PHPCR\Document\Generic;
67
use Symfony\Cmf\Component\Routing\RouteObjectInterface;
78
use Symfony\Cmf\Bundle\RoutingBundle\Model\Route as RouteModel;
89

@@ -90,6 +91,12 @@ public function setParent($parent)
9091
return $this;
9192
}
9293

94+
/**
95+
* The parent document, which might be another route or some other
96+
* document.
97+
*
98+
* @return Generic object
99+
*/
93100
public function getParent()
94101
{
95102
return $this->parent;

0 commit comments

Comments
 (0)