public function delete($file):AbstractSitemapContracts
    {
        if ($this->has(__public_path().$file.$this->ext)) {
            unlink(__public_path().$file.$this->ext);
        }

        return $this;
    }
public function delete($file):AbstractSitemapContracts
    {
        if ($this->has(__public_path().$file.$this->ext)) {
            unlink(__public_path().$file.$this->ext);
        }

        return $this;
    }
public function delete ( $ file ) : AbstractSitemapContracts { if ( $ this -> has ( __public_path ( ) . $ file . $ this -> ext ) ) { unlink ( __public_path ( ) . $ file . $ this -> ext ) ; } return $ this ; }
Delete the sitemap.

@param (string) $file File name with extension (.xml).

@since 3.0.0

@return object
Delete the sitemap .