wireClassImplements() function
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.
Please note this method is and thus not intended to be called directly.
Internal usage
// basic internal usage
$array = wireClassImplements ($className);
// internal 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.251