/** * {@inheritdoc} */ public function delete($path) { try { $path = $this->getAbsolutePath($path); if (!$this->filesystem->exists($path)) { throw Exception\NotFoundException::pathNotFound($path); } $this->filesystem->delete($path, true); } catch (FileSystemException $e) { throw Exception\StorageException::deleteError($path, $e); } }