PHP Класс Minify_LessCssSource, minify

Наследование: extends Minify_Source
Показать файл Открыть проект

Открытые методы

Метод Описание
__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