Does the given class have the given method?
ProcessWire namespace aware version of PHP’s method_exists() function
If given a class name that does not include a namespace, the \ProcessWire
namespace is assumed.
Usage
$bool = wireMethodExists (string $className, string $method);
Arguments
Name | Type(s) | Description |
---|---|---|
className | string | |
method | string |
Return value
bool
Functions methods and properties
API reference based on ProcessWire core version 3.0.200