From eab32c55d933e152717b088b4919efb67f451acf Mon Sep 17 00:00:00 2001 From: Viacheslav Yepancha Date: Sun, 10 Mar 2024 13:02:07 +0000 Subject: [PATCH] add proxy methods to EnumReflectionProperty --- src/Persistence/Reflection/EnumReflectionProperty.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/Persistence/Reflection/EnumReflectionProperty.php b/src/Persistence/Reflection/EnumReflectionProperty.php index fd994f47..3352edf0 100644 --- a/src/Persistence/Reflection/EnumReflectionProperty.php +++ b/src/Persistence/Reflection/EnumReflectionProperty.php @@ -148,4 +148,14 @@ private function toEnum($value) return $this->enumType::from($value); } + + public function getModifiers(): int + { + return $this->originalReflectionProperty->getModifiers(); + } + + public function getDocComment(): string|false + { + return $this->originalReflectionProperty->getDocComment(); + } }