PHP Class Craft\MinifyService

Inheritance: extends craft\BaseApplicationComponent
Datei anzeigen Open project: nystudio107/minify

Protected Properties

Property Type Description
$shouldMinify

Public Methods

Method Description
cssMin ( $cssText = "" ) * -------------------------------------------------------------------------------- Minify the passed in CSS --------------------------------------------------------------------------------
htmlMin ( $htmlText = "" ) * -------------------------------------------------------------------------------- Minify the passed in HTML --------------------------------------------------------------------------------
init ( )
jsMin ( $jsText = "" ) * -------------------------------------------------------------------------------- Minify the passed in JS --------------------------------------------------------------------------------
minify ( $htmlText = "" ) * -------------------------------------------------------------------------------- Minify all the things --------------------------------------------------------------------------------

Method Details

cssMin() public method

* -------------------------------------------------------------------------------- Minify the passed in CSS --------------------------------------------------------------------------------
public cssMin ( $cssText = "" )

htmlMin() public method

* -------------------------------------------------------------------------------- Minify the passed in HTML --------------------------------------------------------------------------------
public htmlMin ( $htmlText = "" )

init() public method

public init ( )

jsMin() public method

* -------------------------------------------------------------------------------- Minify the passed in JS --------------------------------------------------------------------------------
public jsMin ( $jsText = "" )

minify() public method

* -------------------------------------------------------------------------------- Minify all the things --------------------------------------------------------------------------------
public minify ( $htmlText = "" )

Property Details

$shouldMinify protected_oe property

protected $shouldMinify