value = $value; } } public function getFieldName() { return 'Warning'; } public function getFieldValue() { return $this->value; } public function toString() { return 'Warning: ' . $this->getFieldValue(); } }