public function __construct($value, $isValid) { $this->_value = $value; $this->setIsValid($isValid); }