Get an array of all the interfaces that the given class implements
- ProcessWire namespace aware version of PHP’s class_implements() function.
- Return value has array keys as class name with namespace and array values as class name without namespace.
Usage
// basic usage
$array = wireClassImplements ($className);
// usage with all arguments
$array = wireClassImplements ($className, bool $autoload = true);
Arguments
Name | Type(s) | Description |
---|---|---|
className | string, object | |
autoload (optional) | bool |
Return value
array
Functions methods and properties
API reference based on ProcessWire core version 3.0.236