PHP Class rmrevin\yii\minify\components\CSS

Inheritance: extends MinifyComponent
显示文件 Open project: rmrevin/yii2-minify-view

Public Methods

Method Description
export ( )

Protected Methods

Method Description
_collect ( string &$code, string $pattern, callable $handler ) : string
_getImportContent ( string $url ) : null | string
collectCharsets ( string &$code ) : string
collectFonts ( string &$code ) : string
collectImports ( string &$code ) : string
expandImports ( string &$code )
process ( array $files )
removeCssComments ( string &$code )

Method Details

_collect() protected method

protected _collect ( string &$code, string $pattern, callable $handler ) : string
$code string
$pattern string
$handler callable
return string

_getImportContent() protected method

protected _getImportContent ( string $url ) : null | string
$url string
return null | string

collectCharsets() protected method

protected collectCharsets ( string &$code ) : string
$code string
return string

collectFonts() protected method

protected collectFonts ( string &$code ) : string
$code string
return string

collectImports() protected method

protected collectImports ( string &$code ) : string
$code string
return string

expandImports() protected method

protected expandImports ( string &$code )
$code string

export() public method

public export ( )

process() protected method

protected process ( array $files )
$files array

removeCssComments() protected method

protected removeCssComments ( string &$code )
$code string