Index

FilterValue

MMO\core\helpers · 1 symbol · generated 5 Oct 2026

class

FilterValue

Filter.php:549

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

Properties2

value

mixed $value
Type
mixed

Methods4

__construct($operator, $value)

Filter.php:557
function __construct(MMO\core\helpers\FilterOperator|string $operator, mixed $value)
$operatorFilterOperator | string
$valuemixedthe reference value, or a FilterPath to resolve one from the tested data itself