diff --git a/src/CoreBundle/Entity/ResourceComment.php b/src/CoreBundle/Entity/ResourceComment.php index 9491c60b63f..e40af32aacd 100644 --- a/src/CoreBundle/Entity/ResourceComment.php +++ b/src/CoreBundle/Entity/ResourceComment.php @@ -149,4 +149,9 @@ public function setChildren(Collection $children): self return $this; } + + public function getRoot(): int + { + return $this->root; + } }