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