FilterValue
MMO\core\helpers · 1 symbol · generated 5 Oct 2026
A single operator + value condition, e.g. the ['$gte' => 18] half of ['age' => ['$gte' => 18]].
class MMO\core\helpers\FilterValue
implements JsonSerializable,
Stringable- Namespace
MMO\core\helpers- Implements
- JsonSerializable, Stringable
new FilterValue(FilterOperator::MoreEqual, 18);
Methods4
function jsonSerialize(): arrayfunction toArray(): array| returns | array | e.g. ['$gte' => 18] |
function __construct(MMO\core\helpers\FilterOperator|string $operator, mixed $value)function __toString(): string