From dbf2adf529676249a0005d001bd57bb797af6dbe Mon Sep 17 00:00:00 2001 From: Angel Fernando Quiroz Campos Date: Sun, 28 Apr 2024 22:03:25 -0500 Subject: [PATCH] Internal: Implement getter for ResourceComment.php::$root --- src/CoreBundle/Entity/ResourceComment.php | 5 +++++ 1 file changed, 5 insertions(+) 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; + } }