preview() public method Returns preview or false if it cannot be rendered public boolean|string preview ( )
getType() public method public string getType ( )return string The code file extension (e.g. php, txt)
getRelativePath() public method public string getRelativePath ( )return string The code file path relative to the application base path.
diff() public method Returns diff or false if it cannot be calculated public boolean|string diff ( )
$type public read-only property The code file extension (e.g. php, txt) public string getType ( )
$relativePath public read-only property The code file path relative to the application base path. public string getRelativePath ( )
$path public property The file path that the new code should be saved to. public string $path = null
$operation public property The operation to be performed. This can be OP_CREATE, OP_OVERWRITE or OP_SKIP. public string $operation = null
$id public property An ID that uniquely identifies this code file. public string $id = null
$content public property The newly generated code content public string $content = null
Page 330 of 633