X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fclasses%2Finterfaces%2Fio%2Ffile%2Fclass_FileOutputStreamer.php;fp=inc%2Fclasses%2Finterfaces%2Fio%2Ffile%2Fclass_FileOutputStreamer.php;h=2b866f4fc10b0574e580f0b9c2f92e042e84a76f;hp=0000000000000000000000000000000000000000;hb=666210d9addd5d19b9dba98b05e8b824b4116c9a;hpb=ab9c0550b44bdb6bbb930b4553f687702963801e diff --git a/inc/classes/interfaces/io/file/class_FileOutputStreamer.php b/inc/classes/interfaces/io/file/class_FileOutputStreamer.php new file mode 100644 index 0000000000..2b866f4fc1 --- /dev/null +++ b/inc/classes/interfaces/io/file/class_FileOutputStreamer.php @@ -0,0 +1,26 @@ + + * @version 0.1 + */ +interface FileOutputStreamer extends Streamable { + /** + * 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 + * @return void + * @throws NullPointerException If an instance is null + * @throws NoObjectException If the instance is not an object + * instance + * @throws MissingMethodException If a required method is missing. + */ + function saveFile ($fileName, $dataArray); +} + +// +?>