PHP 클래스 Assetic\Filter\Yui\BaseCompressorFilter

저자: Kris Wallsmith ([email protected])
상속: implements Assetic\Filter\FilterInterface
파일 보기 프로젝트 열기: pmjones/php-framework-benchmarks

공개 메소드들

메소드 설명
__construct ( $jarPath, $javaPath = '/usr/bin/java' )
filterLoad ( Assetic\Asset\AssetInterface $asset )
setCharset ( $charset )
setLineBreak ( $lineBreak )

보호된 메소드들

메소드 설명
compress ( string $content, string $type, array $options = [] ) : string Compresses a string.

메소드 상세

__construct() 공개 메소드

public __construct ( $jarPath, $javaPath = '/usr/bin/java' )

compress() 보호된 메소드

Compresses a string.
protected compress ( string $content, string $type, array $options = [] ) : string
$content string The content to compress
$type string The type of content, either "js" or "css"
$options array An indexed array of additional options
리턴 string The compressed content

filterLoad() 공개 메소드

public filterLoad ( Assetic\Asset\AssetInterface $asset )
$asset Assetic\Asset\AssetInterface

setCharset() 공개 메소드

public setCharset ( $charset )

setLineBreak() 공개 메소드

public setLineBreak ( $lineBreak )