Chmpx::destroy
Destroys a Chmpx instance
Description
public function destroy(): bool
Destroys a Chmpx instance.
Parameters
Return Values
Returns true on success or false on failure.
Examples
php -r '$chmpx = new Chmpx(); $chmpx->createServer("./tests/server.yaml", true); var_dump($chmpx->destroy());'
The above example will output:
bool(true)
See Also
- Chmpx::create - Creates a ChmpxServer instance
- Chmpx::createServer - Creates a ChmpxServer instance
- Chmpx::createSlave - Creates a ChmpxSlave instance