IsClassProperty::check()
Not yet in a tagged release
Description
IsClassProperty::check() - is a ReflectionProperty a class property?
// remember to import first
use GanbaroDigital\MissingBits\ClassesAndObjects\IsClassProperty;
// our method signature
bool IsClassProperty::check(ReflectionProperty $refProp);
Parameters
IsClassProperty::check() takes one parameter:
$refProp(ReflectionProperty) - the property to examine
Return Value
IsClassProperty::check() returns a boolean:
trueif$refPropis a class property,falseotherwise.
Throws
IsClassProperty::check() does not throw any exceptions.