]> git.mxchange.org Git - core.git/blobdiff - framework/main/classes/stacker/class_
Continued:
[core.git] / framework / main / classes / stacker / class_
index c3c188ed2f2c8865658a28735ebf6f61817ff99d..b8e5aa096b202144ac1750f549d4edcf26ab2b2e 100644 (file)
@@ -1,17 +1,18 @@
 <?php
 // Own namespace
 <?php
 // Own namespace
-namespace CoreFramework\Stacker\!!!;
+namespace Org\Mxchange\CoreFramework\Stack\!!!;
 
 // Import framework stuff
 
 // Import framework stuff
-use Org\Mxchange\CoreFramework\Stacker\BaseStacker;
-use Org\Mxchange\CoreFramework\Stacker\Stackable;
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
+use Org\Mxchange\CoreFramework\Stack\BaseStacker;
+use Org\Mxchange\CoreFramework\Stack\Stackable;
 
 /**
  * A ??? Stacker class
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
 
 /**
  * A ??? Stacker class
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2023 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
@@ -34,7 +35,7 @@ class ???Stacker extends BaseStacker implements Stackable {
         *
         * @return      void
         */
         *
         * @return      void
         */
-       protected function __construct () {
+       private function __construct () {
                // Call parent constructor
                parent::__construct(__CLASS__);
        }
                // Call parent constructor
                parent::__construct(__CLASS__);
        }
@@ -65,7 +66,7 @@ class ???Stacker extends BaseStacker implements Stackable {
         * @throws      StackerFullException    If the stack is full
         */
        public function pushNamed ($stackerName, $value) {
         * @throws      StackerFullException    If the stack is full
         */
        public function pushNamed ($stackerName, $value) {
-               $this->partialStub('stackerName=' . $stackerName . ',value[' . gettype($value) . ']=' . $value);
+               DebugMiddleware::getSelfInstance()->partialStub('stackerName=' . $stackerName . ',value[' . gettype($value) . ']=' . $value);
        }
 
        /**
        }
 
        /**
@@ -77,7 +78,7 @@ class ???Stacker extends BaseStacker implements Stackable {
         * @throws      EmptyStackerException   If the named stacker is empty
         */
        public function popNamed ($stackerName) {
         * @throws      EmptyStackerException   If the named stacker is empty
         */
        public function popNamed ($stackerName) {
-               $this->partialStub('stackerName=' . $stackerName);
+               DebugMiddleware::getSelfInstance()->partialStub('stackerName=' . $stackerName);
        }
 
        /**
        }
 
        /**
@@ -89,7 +90,7 @@ class ???Stacker extends BaseStacker implements Stackable {
         * @throws      EmptyStackerException   If the named stacker is empty
         */
        public function getNamed ($stackerName) {
         * @throws      EmptyStackerException   If the named stacker is empty
         */
        public function getNamed ($stackerName) {
-               $this->partialStub('stackerName=' . $stackerName);
+               DebugMiddleware::getSelfInstance()->partialStub('stackerName=' . $stackerName);
        }
 
 }
        }
 
 }