]> git.mxchange.org Git - shipsimu.git/blobdiff - inc/classes/middleware/io/class_FileIoHandler.php
More object are configureable, cache initially added
[shipsimu.git] / inc / classes / middleware / io / class_FileIoHandler.php
index 16c5b87dae69d7d87ddb8d4b3d272f50944ebd3e..a7322fb23ae3b31ce508ccbdd7a4bcfc2318dae7 100644 (file)
@@ -72,8 +72,8 @@ class FileIoHandler extends BaseMiddleware {
                $ioHandler = new FileIoHandler();
 
                // Set the *real* file IO instances (both the same)
-               $ioHandler->setInputStream(FileIoStream::createFileIoStream());
-               $ioHandler->setOutputStream(FileIoStream::createFileIoStream());
+               $ioHandler->setInputStream(ObjectFactory::createObjectByConfiguredName('file_input_stream'));
+               $ioHandler->setOutputStream(ObjectFactory::createObjectByConfiguredName('file_output_stream'));
 
                // Return instance
                return $ioHandler;