protected function deleteHtml($key): void
    {
        $paths = [];
        $paths[] = MaskUtility::getTemplatePath($this->extSettings, $key);
        $paths[] = MaskUtility::getTemplatePath($this->extSettings, $key, false, $this->extSettings['backend']);
        foreach ($paths as $path) {
            if (file_exists($path)) {
                unlink($path);
            }
        }
    }
protected function deleteHtml($key): void
    {
        $paths = [];
        $paths[] = MaskUtility::getTemplatePath($this->extSettings, $key);
        $paths[] = MaskUtility::getTemplatePath($this->extSettings, $key, false, $this->extSettings['backend']);
        foreach ($paths as $path) {
            if (file_exists($path)) {
                unlink($path);
            }
        }
    }
protected function deleteHtml ( $ key ) : void { $ paths = [ ] ; $ paths [ ] = MaskUtility :: getTemplatePath ( $ this -> extSettings , $ key ) ; $ paths [ ] = MaskUtility :: getTemplatePath ( $ this -> extSettings , $ key , false , $ this -> extSettings [ 'backend' ] ) ; foreach ( $ paths as $ path ) { if ( file_exists ( $ path ) ) { unlink ( $ path ) ; } } }
Deletes Fluid html, if file exists

@param string $key
@author Benjamin Butschell <bb@webprofil.at>
Deletes Fluid html if file exists