Added streamData() method to interface Streamable
[core.git] / inc / classes / interfaces / streams / class_Streamable.php
index b56001682aeb210590b468d050f958b544895b05..c0e89f5dff99bdfc713b7cb2ebba5eb34847855e 100644 (file)
  * 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]