/** * @param Entry $entry */ public function removeEntry(Entry $entry) { $r = $this->getCollection()->remove(array('processId' => $entry->getProcessId(), 'serviceName' => $entry->getServiceName(), 'endpoint' => $entry->getEndpoint()->toJson())); }