K2hdkc::close
Closes a connection with the K2hdkc cluster
Description
public function close(): bool {}
Closes a connection with the K2hdkc cluster.
Parameters
This function has no parameters.
Return Values
Returns true
on success or false
on failure.
Examples
- Example 1 - Closes a connection with the K2hdkc cluster
php -r '
$handle = new K2hdkc("./tests/slave.ini");
var_dump($handle->close());
'
The above example will output:
bool(true)
See Also
- K2hdkc::__construct - Constructs a K2hdkc instance