/** * * @return void */ public function deleteAtom() { if ($this->atomExists()) { $this->database->deleteAtom($this); $this->concept->removeFromAtomCache($this); } else { $this->logger->debug("Cannot delete atom '{$this}', because it does not exists"); } }