public function setMaxLogFiles($value) { $this->_maxLogFiles = TPropertyValue::ensureInteger($value); if ($this->_maxLogFiles < 1) { throw new TInvalidDataValueException('filelogroute_maxlogfiles_invalid'); } }