src/File/Writer/DefaultWriter.php
public function deletePath(FilesystemInterface $filesystem, $path)
    {
        $success = false;
        try {
            $success = $filesystem->delete($path);
        } catch (FileNotFoundException $e) {
            // TODO: log this?
        }

        return $success;
    }
public function deletePath(FilesystemInterface $filesystem, $path)
    {
        $success = false;
        try {
            $success = $filesystem->delete($path);
        } catch (FileNotFoundException $e) {
            // TODO: log this?
        }

        return $success;
    }
public function deletePath ( FilesystemInterface $ filesystem , $ path ) { $ success = false ; try { $ success = $ filesystem -> delete ( $ path ) ; } catch ( FileNotFoundException $ e ) { // TODO: log this? } return $ success ; }
Deletes a path from a filesystem

@param \League\Flysystem\FilesystemInterface $filesystem a filesystem writer
@param string $path the path that should be deleted
@return bool
Deletes a path from a filesystem