]> git.mxchange.org Git - core.git/blobdiff - framework/main/interfaces/io/file/class_FileInputStreamer.php
Rewritten:
[core.git] / framework / main / interfaces / io / file / class_FileInputStreamer.php
index 25ed295ea87979fbc87fda46736408c981c36984..18dd89530d38bbbfbeeb338ced4f204cff57572a 100644 (file)
@@ -5,6 +5,9 @@ namespace CoreFramework\Stream\Filesystem;
 // Import framework stuff
 use CoreFramework\Stream\Input\StreamableInput;
 
+// Import SPL stuff
+use \SplFileInfo;
+
 /**
  * An interface for file input operations.
  *
@@ -28,14 +31,15 @@ use CoreFramework\Stream\Input\StreamableInput;
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 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);
 
 }