// Import framework stuff
use CoreFramework\Stream\Input\StreamableInput;
+// Import SPL stuff
+use \SplFileInfo;
+
/**
* An interface for file input operations.
*
* 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);
}