private function check()
 {
     $checks = SourceSystem::doCheck();
     $constants = $checks['constants'];
     $multithread = $checks['multithread'];
     $signals = $checks['signals'];
     $database = $checks['database'];
     $real_path = $checks['real_path'];
     $multithread_enabled = $checks['multithread_enabled'];
     $idle_time = $checks['idle_time'];
     $max_bytes = $checks['max_result_bytes'];
     $max_childs = $checks['max_childs'];
     $max_childs_runtime = $checks['max_childs_runtime'];
     $parent_niceness = $checks['parent_niceness'];
     $child_niceness = $checks['child_niceness'];
     $return = "Extender checks:\n----------------\n\n";
     $return .= "Extender minimum parameters configured: " . $this->color->convert($constants === true ? "%gPASSED%n" : "%r" . $constants . "%n");
     $return .= "\nMultiprocess support available: " . $this->color->convert($multithread === true ? "%gYES%n" : "%rNO%n");
     $return .= "\nDaemon support (signaling): " . $this->color->convert($signals === true ? "%gYES%n" : "%rNO%n");
     $return .= "\nExtender database available and configured: " . $this->color->convert($database === true ? "%gYES%n" : "%rNO%n");
     $return .= "\n\nExtender parameters:\n--------------------\n\n";
     $return .= "Framework path: " . $this->color->convert("%g" . $real_path . "%n");
     $return .= "\nMultiprocess enabled: " . $this->color->convert("%g" . $multithread_enabled . "%n");
     $return .= "\nIdle time (daemon mode): " . $this->color->convert("%g" . $idle_time . "%n");
     $return .= "\nMax result bytes per task: " . $this->color->convert("%g" . $max_bytes . "%n");
     $return .= "\nMax childs: " . $this->color->convert("%g" . $max_childs . "%n");
     $return .= "\nMax child runtime: " . $this->color->convert("%g" . $max_childs_runtime . "%n");
     $return .= "\nParent niceness: " . $this->color->convert(!is_null($parent_niceness) ? "%g" . $parent_niceness . "%n" : "%ydefault%n");
     $return .= "\nChilds niceness: " . $this->color->convert(!is_null($child_niceness) ? "%g" . $child_niceness . "%n" : "%ydefault%n");
     return $return;
 }
 public static function doCheck($params)
 {
     return System::doCheck();
 }