From: Roland Häder Date: Sun, 5 Aug 2012 00:18:04 +0000 (+0000) Subject: Reverted last commit, better use filter pattern?! X-Git-Url: https://git.mxchange.org/?p=core.git;a=commitdiff_plain;h=d3ebec94ac5e95cc921d6d5b103f04834da484ff Reverted last commit, better use filter pattern?! --- diff --git a/inc/classes/interfaces/streams/input/class_InputStreamable.php b/inc/classes/interfaces/streams/input/class_InputStreamable.php index fdeb6573..a61fdf0a 100644 --- a/inc/classes/interfaces/streams/input/class_InputStreamable.php +++ b/inc/classes/interfaces/streams/input/class_InputStreamable.php @@ -21,15 +21,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -interface InputStreamable extends FrameworkInterface { - /** - * Streams the data and maybe does something to it - * - * @param $data The data (string mostly) to "stream" - * @param $handlerInstance An instance of a Networkable class - * @return $data The data (string mostly) to "stream" - */ - function streamNetworkData ($data, Networkable $handlerInstance); +interface InputStreamable extends Streamable { } // [EOF] diff --git a/inc/classes/interfaces/streams/output/class_OutputStreamable.php b/inc/classes/interfaces/streams/output/class_OutputStreamable.php index b2844b03..dc9b9995 100644 --- a/inc/classes/interfaces/streams/output/class_OutputStreamable.php +++ b/inc/classes/interfaces/streams/output/class_OutputStreamable.php @@ -21,15 +21,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -interface OutputStreamable extends FrameworkInterface { - /** - * Streams the data and maybe does something to it - * - * @param $data The data (string mostly) to "stream" - * @param $handlerInstance An instance of a Networkable class - * @return $data The data (string mostly) to "stream" - */ - function streamNetworkData ($data, Networkable $handlerInstance); +interface OutputStreamable extends Streamable { } // [EOF]