23 lines
355 B
PHP
23 lines
355 B
PHP
|
|
<?php
|
||
|
|
|
||
|
|
namespace Lucent\Query\Operator;
|
||
|
|
|
||
|
|
|
||
|
|
abstract class Operator
|
||
|
|
{
|
||
|
|
public string $name;
|
||
|
|
public string $label;
|
||
|
|
public string $symbol;
|
||
|
|
public array $uis;
|
||
|
|
public bool $hasValue;
|
||
|
|
/**
|
||
|
|
* @var class-string
|
||
|
|
*/
|
||
|
|
public string $converter;
|
||
|
|
|
||
|
|
public static function make(): Operator
|
||
|
|
{
|
||
|
|
return new static();
|
||
|
|
}
|
||
|
|
|
||
|
|
}
|