public function getValue() { if (isset($this->attributes[$this->attribute])) { return $this->attributes[$this->attribute]; } else { return ''; } }