mirror of
https://codeberg.org/icewind/SearchDAV.git
synced 2026-06-03 17:44:06 +02:00
add query parser tests
This commit is contained in:
parent
3f23e989f0
commit
5f6b358839
5 changed files with 107 additions and 2 deletions
|
|
@ -58,6 +58,18 @@ class Operator implements XmlDeserializable {
|
|||
*/
|
||||
public $arguments;
|
||||
|
||||
/**
|
||||
* Operator constructor.
|
||||
*
|
||||
* @param string $type
|
||||
* @param array $arguments
|
||||
*/
|
||||
public function __construct($type = '', array $arguments = []) {
|
||||
$this->type = $type;
|
||||
$this->arguments = $arguments;
|
||||
}
|
||||
|
||||
|
||||
static function xmlDeserialize(Reader $reader) {
|
||||
$operator = new self();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue