public function minify($htmlText = "")
    {
        if ($this->shouldMinify) {
            $options = [
                'cssMinifier' => '\Minify_CSSmin::minify',
                'jsMinifier' => '\JSMin\JSMin::minify',
            ];
            $htmlText = \Minify_HTML::minify($htmlText, $options);
        }

        return $htmlText;
    }
public function minify($htmlText = "")
    {
        if ($this->shouldMinify) {
            $options = [
                'cssMinifier' => '\Minify_CSSmin::minify',
                'jsMinifier' => '\JSMin\JSMin::minify',
            ];
            $htmlText = \Minify_HTML::minify($htmlText, $options);
        }

        return $htmlText;
    }
public function minify ( $ htmlText = "" ) { if ( $ this -> shouldMinify ) { $ options = [ 'cssMinifier' => '\Minify_CSSmin::minify' , 'jsMinifier' => '\JSMin\JSMin::minify' , ] ; $ htmlText = \ Minify_HTML :: minify ( $ htmlText , $ options ) ; } return $ htmlText ; }
Minify all the things

@param string $htmlText

@return string
Minify all the things