/** * removeProcess * * @param string $hostId * ID of the host where the process was running * @param object $processDetails * The process ID we're working with * * @return void */ public function removeProcess($hostId, $processDetails) { $key = $hostId . ":" . $processDetails->pid; usingRuntimeTable($this->tableName)->removeItem($key); }
/** * @return void */ public function removeCurrentTestEnvironment() { // what are we doing? $log = usingLog()->startAction("remove current test environment from targets table"); // get the details to remove $testEnvName = $this->st->getTestEnvironmentName(); // remove it usingRuntimeTable($this->entryKey)->removeItem($testEnvName); // all done $log->endAction(); }