Class LocalFilePreparer prepares files locally on the file system.
package |
Default |
---|
cleanup() : mixed
mixed
convertPhpArrayToJson( $zeArray) : array
Array of items to convert
array
Array of JSON strings
deleteFile(string $filePath) : boolean
throws |
---|
string
boolean
delimit(array $data, string $delimiter = "\n") : string
throws |
If $data is not recognized as an array of strings |
---|
array
string
string
encodeFactToJson( $fact) : string
(Also a protected function for testability)
string
getPreparedPath() : string
string
prepare( $data)
setFilePath( $path)
writeFile(string $filePath, string $contents) : integer
throws |
$contents |
---|
string
string
integer
outputFilename :
outputBaseDir :