public function setVersion($value) { if ($value === '1.1' || $value === '1.2' || $value === '') { $this->_version = $value; } else { throw new TInvalidDataValueException('soapserver_version_invalid', $value); } }