interface Requirements_Minifier (View source)

deprecated 4.0.0:5.0.0

Provides an abstract interface for minifying content

Methods

string
minify(string $content, string $type, string $filename)

Minify the given content

Details

string minify(string $content, string $type, string $filename)

Minify the given content

Parameters

string $content
string $type

Either js or css

string $filename

Name of file to display in case of error

Return Value

string

minified content