We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dcb4b52 commit 6437034Copy full SHA for 6437034
Doctrine/Phpcr/Route.php
@@ -3,6 +3,7 @@
3
namespace Symfony\Cmf\Bundle\RoutingBundle\Doctrine\Phpcr;
4
5
use Doctrine\Common\Collections\Collection;
6
+use Doctrine\ODM\PHPCR\Document\Generic;
7
use Symfony\Cmf\Component\Routing\RouteObjectInterface;
8
use Symfony\Cmf\Bundle\RoutingBundle\Model\Route as RouteModel;
9
@@ -90,6 +91,12 @@ public function setParent($parent)
90
91
return $this;
92
}
93
94
+ /**
95
+ * The parent document, which might be another route or some other
96
+ * document.
97
+ *
98
+ * @return Generic object
99
+ */
100
public function getParent()
101
{
102
return $this->parent;
0 commit comments