public function deleteFiles($paths)
    {
        $fullPaths = [];
        foreach ($paths as $path) {
            $path = self::validatePath($path);
            $fullPaths[] = $this->getMediaPath($path);
        }

        return $this->getStorageDisk()->delete($fullPaths);
    }
public function deleteFiles($paths)
    {
        $fullPaths = [];
        foreach ($paths as $path) {
            $path = self::validatePath($path);
            $fullPaths[] = $this->getMediaPath($path);
        }

        return $this->getStorageDisk()->delete($fullPaths);
    }
public function deleteFiles ( $ paths ) { $ fullPaths = [ ] ; foreach ( $ paths as $ path ) { $ path = self :: validatePath ( $ path ) ; $ fullPaths [ ] = $ this -> getMediaPath ( $ path ) ; } return $ this -> getStorageDisk ( ) -> delete ( $ fullPaths ) ; }
Deletes a file from the Library.
@param array $paths A list of file paths relative to the Library root to delete.
Deletes a file from the Library .