interface for compiler which needs many source files The PHP file generated by the compiler should check itself if it is still valid. The file should have a "return" statement with a boolean : true if it is ok, false if it should be recompiled.
| package |
jelix |
|---|---|
| subpackage |
core |
compileItem(string $sourceFile, string $module) : boolean
stringthe file selector
stringthe module name of the file
booleantrue : process ok
endCompile(string $cachefile)
stringthe name of cache file