Method | Description | |
---|---|---|
__construct ( array $spec, Minify_CacheInterface $cache ) | ||
getContent ( ) : string | Get content | |
getLastModified ( ) : integer | Get last modified of all parsed files |
Method | Description | |
---|---|---|
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: |
public __construct ( array $spec, Minify_CacheInterface $cache ) | ||
$spec | array | |
$cache | Minify_CacheInterface |
public getLastModified ( ) : integer | ||
return | integer |