public function getDecoder() { return MatchesDecoder::create($this->tDecoder); }
private function dataEventEvaluator($name, $setter, $data) { if (isset($data["decoder"])) { $decoder = trim($data["decoder"]); $decoderValid = $this->validateAttributeValue("decoder", $decoder, MatchesDecoder::validDecoders()); } else { $decoder = MonitorEventEvaluator::DEFAULT_DECODER; $decoderValid = true; } $term = trim($data["value"]); $termValid = $this->validateElementValue($name, $term); if ($decoderValid && $termValid) { call_user_func(array($this->tCurrentEvent, $setter), $term, $decoder); } }