private function setDebugOptions() { $debugoption = DebugOption::getDebugOption(); $definedoptions = $debugoption->getOptions(); $debugoptions = $debugoption->getEnumOptions('options'); foreach ($definedoptions as $option) { $this->debugoptions[$option] = $debugoptions[$option]; } }