PHP 클래스 CeesVanEgmond\Minify\Minify

파일 보기 프로젝트 열기: ceesvanegmond/minify 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$attributes array
$config array

공개 메소드들

메소드 설명
__construct ( array $config, string $environment )
__toString ( ) : string
javascript ( $file, array $attributes = [] ) : string
javascriptDir ( $dir, array $attributes = [] ) : string
onlyUrl ( ) : mixed
stylesheet ( $file, array $attributes = [] ) : string
stylesheetDir ( $dir, array $attributes = [] ) : string
withFullUrl ( ) : string

보호된 메소드들

메소드 설명
minifyForCurrentEnvironment ( ) : boolean
render ( ) : mixed

비공개 메소드들

메소드 설명
assetDirHelper ( $ext, $dir ) : string
checkConfiguration ( array $config ) : array
getBaseUrl ( ) : string
process ( $file )

메소드 상세

__construct() 공개 메소드

public __construct ( array $config, string $environment )
$config array
$environment string

__toString() 공개 메소드

public __toString ( ) : string
리턴 string

javascript() 공개 메소드

public javascript ( $file, array $attributes = [] ) : string
$file
$attributes array
리턴 string

javascriptDir() 공개 메소드

public javascriptDir ( $dir, array $attributes = [] ) : string
$dir
$attributes array
리턴 string

minifyForCurrentEnvironment() 보호된 메소드

onlyUrl() 공개 메소드

public onlyUrl ( ) : mixed
리턴 mixed

render() 보호된 메소드

protected render ( ) : mixed
리턴 mixed

stylesheet() 공개 메소드

public stylesheet ( $file, array $attributes = [] ) : string
$file
$attributes array
리턴 string

stylesheetDir() 공개 메소드

public stylesheetDir ( $dir, array $attributes = [] ) : string
$dir
$attributes array
리턴 string

withFullUrl() 공개 메소드

public withFullUrl ( ) : string
리턴 string

프로퍼티 상세

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

protected array $attributes
리턴 array

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

protected array $config
리턴 array