PHP 클래스 MiniAsset\Filter\JShrinkFilter

Allows you to minify Javascript files through JShrink. JShrink can be downloaded at https://github.com/tedivm/JShrink. You need to put Minifier.php in your vendors jshrink folder.
상속: extends MiniAsset\Filter\AssetFilter
파일 보기 프로젝트 열기: markstory/mini-asset

보호된 프로퍼티들

프로퍼티 타입 설명
$_settings array Settings for JShrink minifier.

공개 메소드들

메소드 설명
output ( string $filename, string $content ) : string Apply JShrink to $content.

메소드 상세

output() 공개 메소드

Apply JShrink to $content.
public output ( string $filename, string $content ) : string
$filename string target filename
$content string Content to filter.
리턴 string

프로퍼티 상세

$_settings 보호되어 있는 프로퍼티

Settings for JShrink minifier.
protected array $_settings
리턴 array