(PHP 5, PHP 7, PHP 8)
ReflectionProperty::isPublic — Checks if property is public
Checks whether the property is public.
This function has no parameters.
true if the property is public, false otherwise.
true
false