public function killAllProcesses() {
		foreach ($this->processDetails as $pid => $processDetails) {
			$this->remove($processDetails);
			posix_kill($pid, SIGKILL);
		}
	}
public function killAllProcesses() {
		foreach ($this->processDetails as $pid => $processDetails) {
			$this->remove($processDetails);
			posix_kill($pid, SIGKILL);
		}
	}
public function killAllProcesses ( ) { foreach ( $ this -> processDetails as $ pid => $ processDetails ) { $ this -> remove ( $ processDetails ) ; posix_kill ( $ pid , SIGKILL ) ; } }
Sends the kill signal to all processes and removes them from the list.

@return void
Sends the kill signal to all processes and removes them from the list .