PHP 클래스 Minify_LessCssSource, 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

비공개 메소드들

메소드 설명
getCache ( ) : array Get lessphp cache object
getCacheId ( string $prefix = 'minify' ) : string Make a unique cache id for for this source.
getCompiler ( ) : lessc Get instance of less compiler
getMaxLastModified ( $cache ) : integer Calculate maximum last modified of all files, as the 'updated' timestamp in cache is not the same as file last modified timestamp:

메소드 상세

__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