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