K2hdkc::clearSubkeys K2hdkc Class K2hdkc::getAttrs

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

php -r '
$handle = new K2hdkc("./tests/slave.ini");
var_dump($handle->close());
'

The above example will output:

bool(true)

See Also

K2hdkc::clearSubkeys K2hdkc Class K2hdkc::getAttrs