Initial import of current development status
[shipsimu.git] / ship-simu / inc / classes / interfaces / io / file / class_FileOutputStreamer.php
1 <?php
2 /**
3  * An interface for file output operations.
4  *
5  * @author      Roland Haeder <roland __NOSPAM__ [at] __REMOVE_ME__ mxchange [dot] org>
6  * @version     0.1
7  */
8 interface FileOutputStreamer extends Streamable {
9         /**
10          * Saves streamed (that are mostly serialized objects) data to files or
11          * external servers.
12          *
13          * @param               $fileName               The local file's name including full path
14          * @param               $dataArray      Array containing the compressor's extension
15          *                                              and streamed data
16          * @return      void
17          * @throws      NullPointerException    If an instance is null
18          * @throws      NoObjectException               If the instance is not an object
19          *                                                              instance
20          * @throws      MissingMethodException  If a required method is missing.
21          */
22         function saveFile ($fileName, $dataArray);
23 }
24
25 //
26 ?>