]> git.mxchange.org Git - core.git/blobdiff - inc/classes/main/streams/output/class_
Opps, had 2 Streamable interfaces ...
[core.git] / inc / classes / main / streams / output / class_
index 1c389811a68cfe98afa33024ac2039156c1ace62..10b3c7224ff59c0d409ef94c2cb418ee13f5c603 100644 (file)
@@ -21,7 +21,7 @@
  * You should have received a copy of the GNU General Public License
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
-class ???OutputStream extends BaseStream implements OutputStreamable {
+class ???OutputStream extends BaseStream implements OutputStream {
        /**
         * Protected constructor
         *
@@ -37,7 +37,7 @@ class ???OutputStream extends BaseStream implements OutputStreamable {
         *
         * @return      $streamInstance         An instance of this node class
         */
-       public final static function create???OutputStream (Requestable $requestInstance) {
+       public final static function create???OutputStream () {
                // Get a new instance
                $streamInstance = new ???OutputStream();
 
@@ -53,7 +53,7 @@ class ???OutputStream extends BaseStream implements OutputStreamable {
         * @throws      UnsupportedOperationException   If this method is called
         */
        public function streamData ($data) {
-               $this->debugOutput('Unhandled ' . strlen($data) . ' bytes in this stream.');
+               self::createDebugInstance(__CLASS__)->debugOutput('Unhandled ' . strlen($data) . ' bytes in this stream.');
                throw new UnsupportedOperationException(array($this, __FUNCTION__), self::EXCEPTION_UNSPPORTED_OPERATION);
        }
 }