refactoring of filters
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
<?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();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user