* @return void
*/
public function saveFile ($fileName, $dataStream, FrameworkInterface $objectInstance = NULL) {
- // Get output stream
- $outInstance = $this->getOutputStream();
-
// Default is this array
$className = $this->__toString();
);
// Send the fileName and dataArray to the output handler
- $outInstance->saveFile($fileName, $dataArray);
+ $this->getOutputStream()->saveFile($fileName, $dataArray);
}
/** Loads data from a file over the input handler
* @return $array Array with the file contents
*/
public function loadFileContents ($fqfn) {
- // Get output stream
- $inInstance = $this->getInputStream();
-
// Read from the input handler
- return $inInstance->loadFileContents($fqfn);
+ return $this->getInputStream()->loadFileContents($fqfn);
}
}