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:

Return Value

IsClassProperty::check() returns a boolean:

Throws

IsClassProperty::check() does not throw any exceptions.