]> git.mxchange.org Git - core.git/blobdiff - framework/main/classes/streams/class_
Continued:
[core.git] / framework / main / classes / streams / class_
index d7e24e2d60e58f5b0a753aeadbc5911f7636b599..50508138b9f9b27bd315ed70ecd5734331382a1d 100644 (file)
@@ -1,4 +1,12 @@
 <?php
+// Own namespace
+namespace Org\Mxchange\CoreFramework\Stream\;
+
+// Import framework stuff
+use Org\Mxchange\CoreFramework\Generic\UnsupportedOperationException;
+use Org\Mxchange\CoreFramework\Stream\BaseStream;
+use Org\Mxchange\CoreFramework\Stream\Stream;
+
 /**
  * A ???Stream class
  *
@@ -27,7 +35,7 @@ class ???Stream extends BaseStream implements Stream {
         *
         * @return      void
         */
-       protected function __construct () {
+       private function __construct () {
                // Call parent constructor
                parent::__construct(__CLASS__);
        }
@@ -56,7 +64,5 @@ class ???Stream extends BaseStream implements Stream {
                self::createDebugInstance(__CLASS__)->debugOutput('Unhandled ' . strlen($data) . ' bytes in this stream.');
                throw new UnsupportedOperationException(array($this, __FUNCTION__), self::EXCEPTION_UNSPPORTED_OPERATION);
        }
-}
 
-// [EOF]
-?>
+}