interface Requirements_Minifier

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

at line 21
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