private function getOperator($comparison) { $mapper = ["lt" => "<", "gt" => ">", "eq" => "="]; return $mapper[$comparison]; }