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