publicfunctionsetOptions(array $options) { foreach($optionsas$fieldName => $value){ switch($fieldName){ case 'id': $this->setId($value); break; case 'interval': $this->setInterval($value); break; case 'next': $this->setNext($value); break; case 'start': $this->setStart($value); break; case 'end': $this->setEnd($value); break; case 'active': $this->setActive($value); break; case 'disable_on_error':