Browse Source

add kevaFilter method

main
ghost 6 months ago
parent
commit
adaa60ad07
  1. 31
      src/Client.php

31
src/Client.php

@ -239,4 +239,35 @@ class Client @@ -239,4 +239,35 @@ class Client
return null;
}
public function kevaFilter(
string $namespace,
?string $value = null
): mixed
{
$this->_id++;
$this->_prepare(
'',
'POST',
[
'method' => 'keva_filter',
'params' =>
[
$namespace,
$value
],
'id' => $this->_id
]
);
$response = $this->_execute();
if (!empty($response['result']))
{
return $response['result'];
}
return null;
}
}

Loading…
Cancel
Save