From 5fad625b7770b9c5beebb19ccc1a493839308fb4 Mon Sep 17 00:00:00 2001 From: Ondrej Mirtes Date: Tue, 23 Feb 2021 18:21:26 +0100 Subject: [PATCH] Add PhpPropertyReflection::getNativeReflection() --- src/Reflection/Php/PhpPropertyReflection.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Reflection/Php/PhpPropertyReflection.php b/src/Reflection/Php/PhpPropertyReflection.php index 8d5e41f343..c9c1625c60 100644 --- a/src/Reflection/Php/PhpPropertyReflection.php +++ b/src/Reflection/Php/PhpPropertyReflection.php @@ -184,4 +184,9 @@ public function isInternal(): TrinaryLogic return TrinaryLogic::createFromBoolean($this->isInternal); } + public function getNativeReflection(): \ReflectionProperty + { + return $this->reflection; + } + }