PHP Class Minify_ScssCssSource, minify

Inheritance: extends Minify_Source
Afficher le fichier Open project: mrclay/minify

Méthodes publiques

Méthode Description
__construct ( array $spec, Minify_CacheInterface $cache )
getContent ( ) : string Get content
getLastModified ( ) : integer Get last modified of all parsed files

Private Methods

Méthode Description
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.

Method Details

__construct() public méthode

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

getContent() public méthode

Get content
public getContent ( ) : string
Résultat string

getLastModified() public méthode

Get last modified of all parsed files
public getLastModified ( ) : integer
Résultat integer