Beispiel #1
0
 /**
  * @param int $id
  */
 public function tableStopClick($id)
 {
     $worker = $this->workerManager->getWokrer($id);
     $this->workerManager->stopWorker($worker);
     $this->redirect('this');
 }
Beispiel #2
0
 public function handleStop()
 {
     $this->workerManager->stopWorker($this->getWorker());
     $this->terminate();
 }