/** * Destroy an instance * * @param string $id * @return boolean */ public function destroyInstance($id) { $this->resetError(); $this->adapterResult = $this->rackspace->deleteServer($id); if ($this->adapterResult === false) { $this->setError(); } return $this->adapterResult; }
/** * Test delete server */ public function testDeleteServer() { $this->assertTrue($this->rackspace->deleteServer(self::$serverId)); }
/** * Destroy an instance * * @param string $id * @return boolean */ public function destroyInstance($id) { $this->adapterResult= $this->rackspace->deleteServer($id); return $this->adapterResult; }