public function delete() { $uuid = $this->model->getUuid(); if (!$uuid) { throw new \Exception("Couldn't delete UUID - no UUID specified."); } $this->db->delete(self::TABLE_NAME, "uuid='" . $uuid . "'"); }