valid = $valid; $this->value = $value; } /** * Is the value valid? */ public function isValid() { return $this->valid; } /** * The parsed/validated value. */ public function getValue() { return $this->value; } } ?>