cacheFileContents()
cacheFileContents(string $destination, string $output, array $importsMap = array()) : boolean
Write the cache file with the given contents and map of imports.
Parameters
| string | $destination | |
| string | $output | |
| array | $importsMap |
reInitCompiler(\Phug\Renderer $renderer, array $events) : \Phug\CompilerInterface
| \Phug\Renderer | $renderer | |
| array | $events |
compileAndCache(\Phug\CompilerInterface $compiler, string $path, string $inputFile) : boolean
Compile a file with a given compiler and cache it.
| \Phug\CompilerInterface | $compiler | |
| string | $path | |
| string | $inputFile |
normalizePath(\Phug\CompilerInterface $compiler, string $path, string $directory) : string
Compile a file with a given compiler and cache it.
| \Phug\CompilerInterface | $compiler | |
| string | $path | |
| string | $directory |