public function tick($startNew = false) { $verify = $this->verifyRunning(); if ($startNew) { $new = $this->startUnits(); if ($verify + $new == 0) { $this->output('no unit to run'); } } else { $new = 0; } return $verify + $new; }