Renamed Registry -> GenericRegistry to make it clear that this registry does
[core.git] / framework / main / interfaces / io / file / class_FileInputStreamer.php
index 25ed295ea87979fbc87fda46736408c981c36984..c4c75a5b31d598c71e4fe8cb07d05f684b39a415 100644 (file)
@@ -1,9 +1,12 @@
 <?php
 // Own namespace
-namespace CoreFramework\Stream\Filesystem;
+namespace Org\Mxchange\CoreFramework\Stream\Filesystem;
 
 // Import framework stuff
-use CoreFramework\Stream\Input\StreamableInput;
+use Org\Mxchange\CoreFramework\Stream\Input\StreamableInput;
+
+// Import SPL stuff
+use \SplFileInfo;
 
 /**
  * An interface for file input operations.
@@ -31,11 +34,11 @@ interface FileInputStreamer extends StreamableInput {
        /**
         * Reads from a local or remote file
         *
-        * @param       $fqfn   The file's FQFN we shall load
+        * @param       $infoInstance   An instance of a SplFileInfo class
         * @return      $array  An array containing all read lines
         * @throws      InvalidArrayCountException      If an array has not the expected size
         * @throws      InvalidMD5ChecksumException     If two MD5 hashes did not match
         */
-       function loadFileContents ($fqfn);
+       function loadFileContents (SplFileInfo $infoInstance);
 
 }