private function minify($files, $outputFile, array $minifiers)
    {
        $content = $this->merge($files, $minifiers);

        foreach ($minifiers as $minifier) {
            $content = $minifier->minify($content);
        }

        file_put_contents($this->basePath . $outputFile, $content);
    }
private function minify($files, $outputFile, array $minifiers)
    {
        $content = $this->merge($files, $minifiers);

        foreach ($minifiers as $minifier) {
            $content = $minifier->minify($content);
        }

        file_put_contents($this->basePath . $outputFile, $content);
    }
private function minify ( $ files , $ outputFile , array $ minifiers ) { $ content = $ this -> merge ( $ files , $ minifiers ) ; foreach ( $ minifiers as $ minifier ) { $ content = $ minifier -> minify ( $ content ) ; } file_put_contents ( $ this -> basePath . $ outputFile , $ content ) ; }
Combines and minifies files


@param string[] $files      List of files to combine and minify
@param string   $outputFile The output filename (this is relative to the base path)
@param array    $minifiers  The list of minifiers to run
Combines and minifies files