|
|
@ -242,7 +242,11 @@ class Client |
|
|
|
|
|
|
|
|
|
|
|
public function kevaFilter( |
|
|
|
public function kevaFilter( |
|
|
|
string $namespace, |
|
|
|
string $namespace, |
|
|
|
?string $value = '' |
|
|
|
?string $regexp = '', |
|
|
|
|
|
|
|
?int $maxage = 36000, |
|
|
|
|
|
|
|
?int $from = 0, |
|
|
|
|
|
|
|
?int $nb = 0, |
|
|
|
|
|
|
|
?bool $stat = false, |
|
|
|
): mixed |
|
|
|
): mixed |
|
|
|
{ |
|
|
|
{ |
|
|
|
$this->_id++; |
|
|
|
$this->_id++; |
|
|
@ -253,10 +257,25 @@ class Client |
|
|
|
[ |
|
|
|
[ |
|
|
|
'method' => 'keva_filter', |
|
|
|
'method' => 'keva_filter', |
|
|
|
'params' => |
|
|
|
'params' => |
|
|
|
|
|
|
|
( |
|
|
|
|
|
|
|
$stat? |
|
|
|
[ |
|
|
|
[ |
|
|
|
$namespace, |
|
|
|
$namespace, |
|
|
|
$value |
|
|
|
$regexp, |
|
|
|
], |
|
|
|
$maxage, |
|
|
|
|
|
|
|
$from, |
|
|
|
|
|
|
|
$nb, |
|
|
|
|
|
|
|
'stat' |
|
|
|
|
|
|
|
] |
|
|
|
|
|
|
|
: |
|
|
|
|
|
|
|
[ |
|
|
|
|
|
|
|
$namespace, |
|
|
|
|
|
|
|
$regexp, |
|
|
|
|
|
|
|
$maxage, |
|
|
|
|
|
|
|
$from, |
|
|
|
|
|
|
|
$nb |
|
|
|
|
|
|
|
] |
|
|
|
|
|
|
|
), |
|
|
|
'id' => $this->_id |
|
|
|
'id' => $this->_id |
|
|
|
] |
|
|
|
] |
|
|
|
); |
|
|
|
); |
|
|
|