/** * {@inheritdoc} */ public function delete($uuid, $webspaceKey, $dereference = false) { $document = $this->documentManager->find($uuid); $this->documentManager->remove($document, $dereference); $this->documentManager->flush(); }
/** * {@inheritdoc} */ public function delete($uuid, $webspaceKey) { $document = $this->documentManager->find($uuid); $this->documentManager->remove($document); $this->documentManager->flush(); }