public function deleteDocumentFolderBySlug($slug)
    {
        $path = '/' . $slug;
        $this->repository->getContentRepository()->deleteDocumentByPath($this->repository, $path);
        $this->repository->getContentRepository()->cleanPublishedDeletedDocuments();
    }