Browse Source

add kevaListNamespaces method

main 1.2.0
ghost 12 months ago
parent
commit
29685b02ce
  1. 24
      src/Client.php

24
src/Client.php

@ -270,4 +270,28 @@ class Client @@ -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;
}
}

Loading…
Cancel
Save