PHP 클래스 MiniAsset\Filter\JsMinFilter

Allows you to filter Javascript files through JSMin. You need either the jsmin PHP extension installed, or a copy of linkorb/jsmin-php installed via Composer.
사용 중단: 1.2.0 Use JSqueeze, JShrink, Uglify, or ClosureJs instead.
상속: extends MiniAsset\Filter\AssetFilter
파일 보기 프로젝트 열기: markstory/mini-asset

공개 메소드들

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

메소드 상세

output() 공개 메소드

Apply JsMin to $content.
public output ( string $filename, string $content ) : string
$filename string Name of the file being generated.
$content string The uncompress contents of $filename.
리턴 string