Evaluates the constraint for parameter $value. Returns true if the constraint is met, false otherwise.
@psalm-param CallbackInput $other
@psalm-suppress InvalidArgument
Overrides Constraint::matches
protected function matches(mixed $other) : bool { if ($this->isVariadic()) { return ($this->callback)(...$other); } return ($this->callback)($other); }