Get the current ProcessWire instance
Usage
$processWire = $wire::getCurrentInstance();
Return value
ProcessWire
null
API reference based on ProcessWire core version 3.0.244
“I just love the easy and intuitive ProcessWire API. ProcessWire rocks!” —Jens Martsch, Web developer