/** * Executes a put method to the Orbit API * * @param $method * @return mixed */ public function delete($method) { $this->request->clearParams(); $this->request->setMethod('delete'); $this->request->setURI($method . '?token=' . $this->getToken()); $this->request->execute(); $content = json_decode($this->request->getContent(), true); return $content; }