Example #1
0
 /**
  * Create a Tmp file and add it into file should remove at the end
  *
  * @param string $fileName file name
  * @param string $filePath path of file
  * @param string $fileData content of file
  *
  * @return string new tmp file path
  */
 private static function _getTmpFile($fileName, $filePath = null, $fileData = null)
 {
     BaseZF_UnitTest_TemporaryFile::setNameSpace(__CLASS__);
     $tmpFilePath = BaseZF_UnitTest_TemporaryFile::getFile($fileName, $filePath, $fileData);
     return $tmpFilePath;
 }