add kevaListNamespaces method

This commit is contained in:
ghost 2023-12-05 03:50:24 +02:00
parent adaa60ad07
commit 29685b02ce

View File

@ -270,4 +270,28 @@ class Client
return null;
}
public function kevaListNamespaces(): ?array
{
$this->_id++;
$this->_prepare(
'',
'POST',
[
'method' => 'keva_list_namespaces',
'params' => [],
'id' => $this->_id
]
);
$response = $this->_execute();
if (!empty($response['result']) && is_array($response['result']))
{
return $response['result'];
}
return null;
}
}