메소드 | 설명 | |
---|---|---|
__construct ( string $dir, string $cacheDir = null, scssc | null $scss = null ) | Constructor | |
serve ( string $salt = '' ) | Compile requested scss and serve css. Outputs HTTP response. | |
serveFrom ( string $path ) | Helper method to serve compiled scss |
메소드 | 설명 | |
---|---|---|
cacheName ( $fname ) : string | Get path to cached .css file | |
compile ( string $in, string $out ) : string | Compile .scss file | |
findInput ( ) : string | Get path to requested .scss file | |
importsCacheName ( $out ) : string | Get path to cached imports | |
inputName ( ) : string | null | Get name of requested .scss file | |
join ( string $left, string $right ) : string | Join path components | |
needsCompile ( string $in, string $out ) : boolean | Determine whether .scss file needs to be re-compiled. |
protected importsCacheName ( $out ) : string | ||
리턴 | string |