get_class_properties()

Not yet in a tagged release

Description

get_class_properties() - get a class's static properties

array get_class_properties(string $target, $propTypes = ReflectionProperty::IS_PUBLIC);

Parameters

get_class_properties() takes two parameters:

Return Values

get_class_properties() returns an array of name / value pairs.

If the class has no static properties, get_class_properties() returns an empty array.

Throws

get_class_properties() throws an InvalidArgumentException if:

Notes