function HeartbeatUnit::debugHelper in Heartbeat 6.3
Debug helper function. Writes values away to a text file in the files directory.
File
- tests/
heartbeat_unit.test, line 25
Class
Code
function debugHelper($value) {
$debug = fopen($this->originalFileDirectory . '/simpletestdebug.txt', 'a+');
fwrite($debug, print_r($value, TRUE) . "\n");
fclose($debug);
}