ProcessWire::getInstance()
Get a ProcessWire instance by ID
Usage
// basic usage
$processWire = ProcessWire::getInstance();
// usage with all arguments
$processWire = ProcessWire::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.253