1 | <?php |
||
12 | class Compiler extends BaseCompiler |
||
13 | { |
||
14 | /** |
||
15 | * @var int |
||
16 | */ |
||
17 | protected $lastTouched; |
||
18 | |||
19 | /** |
||
20 | * Overridden method for handling Sass import statements. |
||
21 | * |
||
22 | * Our compiler will need to be able to refresh the Sass output if an import |
||
23 | * has changed since it was cached. This is used solely for the purpose of |
||
24 | * supporting our built-in dev server so that it can recompile Sass with the |
||
25 | * latest changes made in imports. |
||
26 | * |
||
27 | * @param string $path |
||
28 | * @param array $out |
||
29 | */ |
||
30 | protected function importFile($path, $out) |
||
62 | |||
63 | /** |
||
64 | * Remove an import from the Sass cache. |
||
65 | * |
||
66 | * @param string|null $file The absolute path to an imported file that will |
||
67 | * be cleared from the cache. When given null, the |
||
68 | * entire cache will be cleared. |
||
69 | */ |
||
70 | public function clearImportCache($file = null) |
||
79 | } |
||
80 |