Get a ProcessWire instance by ID
Usage
// basic usage
$processWire = $wire::getInstance();
// usage with all arguments
$processWire = $wire::getInstance($instanceID = null);
Arguments
Name | Type(s) | Description |
---|---|---|
instanceID (optional) | int, null | Omit this argument to return the current instance |
Return value
null
ProcessWire
API reference based on ProcessWire core version 3.0.236