]> git.mxchange.org Git - core.git/blobdiff - inc/classes/interfaces/streams/class_Streamable.php
Continued with file i/o:
[core.git] / inc / classes / interfaces / streams / class_Streamable.php
index 19ef5adf76faa10d1cfadc1f0c682984e1d0cd5d..46eac25c9d251e22ad30a51334903ae2986b8fd8 100644 (file)
@@ -2,11 +2,11 @@
 /**
  * An interface for streams
  *
- * @author             Roland Haeder <webmaster@ship-simu.org>
+ * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009, 2010 Core Developer Team
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2013 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.ship-simu.org
+ * @link               http://www.shipsimu.org
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 interface Streamable extends FrameworkInterface {
+       /**
+        * Streams the data and maybe does something to it
+        *
+        * @param       $data   The data (string mostly) to "stream"
+        * @return      $data   The data (string mostly) to "stream"
+        */
+       function streamData ($data);
 }
 
 // [EOF]