-
Notifications
You must be signed in to change notification settings - Fork 752
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ReflectionProperty::isDynamic()
#4292
base: master
Are you sure you want to change the base?
Conversation
&reftitle.seealso; | ||
<para> | ||
<simplelist> | ||
<member><methodname>ReflectionProperty::getValue</methodname></member> | ||
</simplelist> | ||
</para> | ||
</refsect1> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
&reftitle.seealso; | |
<para> | |
<simplelist> | |
<member><methodname>ReflectionProperty::getValue</methodname></member> | |
</simplelist> | |
</para> | |
</refsect1> | |
&reftitle.seealso; | |
<simplelist> | |
<member><methodname>ReflectionProperty::getValue</methodname></member> | |
</simplelist> | |
</refsect1> |
class Foo { | ||
public $bar; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You need to add the dynamic property attribute to the class, otherwise a deprecation notice would be in the output
Checks whether the property was declared at run-time, or whether the | ||
property was declared at compile-time. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure about this wording, maybe something like:
Checks whetehr the property was declared at run-time,
or if the property is declared in a class at compile time.
? But I still not amazed by my wording.
Part of #3872