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:
true
if$refProp
is an object property,false
otherwise.
Throws
IsObjectProperty::check()
does not throw any exceptions.