add query parser tests

This commit is contained in:
Robin Appelman 2017-02-01 15:13:29 +01:00
commit 5f6b358839
5 changed files with 107 additions and 2 deletions

View file

@ -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();