WireApiDocs::getClassInfo()
Get class info via reflection
Returns an array with:
name(string): Class nameparent(string): Direct parent class name, or empty string if noneinterfaces(array): Interfaces implemented directly by this class (not inherited)traits(array): Traits used directly by this classabstract(bool): Is the class abstract?summary(string): Summary from class phpdoc (
Usage
$array = $wireApiDocs->getClassInfo(string $class);Arguments
| Name | Type(s) | Description |
|---|---|---|
$class | string | Class name (with or without ProcessWire namespace) |
Return value
arrayEmpty array if class not found
WireApiDocs methods and properties
API reference based on ProcessWire core version 3.0.268