The compile method processes the contents of a file
- If you want to compile the entire contents of the file, override this method and don't parent::compile().
- If you only want to compile non-PHP sections of the file, implement the compileMarkup() method instead.
Usage
$string = $fileCompilerModule->compile(string $data);
Arguments
Name | Type(s) | Description |
---|---|---|
data | string |
Return value
string
array
FileCompilerModule methods and properties
API reference based on ProcessWire core version 3.0.236