public function setDecayRate($value) { $decay = TPropertyValue::ensureFloat($value); if ($decay < 0) { throw new TConfigurationException('callback_decay_be_not_negative', $this->getID()); } $this->setViewState('Decay', $decay); }