options['errorLevel'] = $errorLevel; } /** * @return int */ public function getErrorLevel() { if (array_key_exists('errorLevel', $this->options)) { return $this->options['errorLevel']; } } /** * Set result text. * * @param string $text * @return self */ public function setResult($text) { $this->setVariable(self::RESULT, $text); return $this; } /** * Get result text. * * @return mixed */ public function getResult() { return $this->getVariable(self::RESULT); } }