]> git.mxchange.org Git - core.git/blobdiff - framework/main/interfaces/io/file/class_FileOutputStreamer.php
Continued:
[core.git] / framework / main / interfaces / io / file / class_FileOutputStreamer.php
index 158d0c5652827dc6a715761439ddf385e66f6fc9..acc475151dd9bfade92aed6f53ecd07e1f07e662 100644 (file)
@@ -1,16 +1,19 @@
 <?php
 // Own namespace
-namespace CoreFramework\Stream\Filesystem;
+namespace Org\Mxchange\CoreFramework\Stream\Filesystem;
 
 // Import framework stuff
-use CoreFramework\Stream\Output\StreamableOutput;
+use Org\Mxchange\CoreFramework\Stream\Output\StreamableOutput;
+
+// Import SPL stuff
+use \SplFileInfo;
 
 /**
  * An interface for file output operations.
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2019 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
@@ -28,14 +31,15 @@ use CoreFramework\Stream\Output\StreamableOutput;
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 interface FileOutputStreamer extends StreamableOutput {
+
        /**
         * Saves streamed (that are mostly serialized objects) data to files or
         * external servers.
         *
-        * @param       $fileName                       The local file's name including full path
-        * @param       $dataArray                      Array containing the compressor's extension and streamed data
+        * @param       $infoInstance   An instance of a SplFileInfo class
+        * @param       $dataArray              Array containing the compressor's extension and streamed data
         * @return      void
         */
-       function saveFile ($fileName, array $dataArray);
+       function saveFile (SplFileInfo $infoInstance, array $dataArray);
 
 }