PHP 클래스 Minify_ScssCssSource, minify

상속: extends Minify_Source
파일 보기 프로젝트 열기: mrclay/minify

공개 메소드들

메소드 설명
__construct ( array $spec, Minify_CacheInterface $cache )
getContent ( ) : string Get content
getLastModified ( ) : integer Get last modified of all parsed files

비공개 메소드들

메소드 설명
cacheIsStale ( array $cache ) : boolean Determine whether .scss file needs to be re-compiled.
compile ( string $filename ) : array Compile .scss file
getCache ( ) : array Get SCSS cache object
getCacheId ( string $prefix = 'minify' ) : string Make a unique cache id for for this source.

메소드 상세

__construct() 공개 메소드

public __construct ( array $spec, Minify_CacheInterface $cache )
$spec array
$cache Minify_CacheInterface

getContent() 공개 메소드

Get content
public getContent ( ) : string
리턴 string

getLastModified() 공개 메소드

Get last modified of all parsed files
public getLastModified ( ) : integer
리턴 integer