X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=framework%2Fmain%2Fclasses%2Fstacker%2Fclass_;h=b8e5aa096b202144ac1750f549d4edcf26ab2b2e;hb=f861d6bc00f8a3ecf6b057f2aa93129572643896;hp=629bcd4148d62f1db1781dd0433e68d65f4a301a;hpb=cad1ab5ecb2935a6ebf678555860c3bd96b525b0;p=core.git diff --git a/framework/main/classes/stacker/class_ b/framework/main/classes/stacker/class_ index 629bcd41..b8e5aa09 100644 --- a/framework/main/classes/stacker/class_ +++ b/framework/main/classes/stacker/class_ @@ -1,21 +1,18 @@ * @version 0.0.0 -<<<<<<< HEAD:framework/main/classes/stacker/class_ - * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team -======= - * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2016 Core Developer Team ->>>>>>> Some updates::inc/main/classes/stacker/class_ + * @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 * @@ -38,7 +35,7 @@ class ???Stacker extends BaseStacker implements Stackable { * * @return void */ - protected function __construct () { + private function __construct () { // Call parent constructor parent::__construct(__CLASS__); } @@ -69,7 +66,7 @@ class ???Stacker extends BaseStacker implements Stackable { * @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); } /** @@ -81,7 +78,7 @@ class ???Stacker extends BaseStacker implements Stackable { * @throws EmptyStackerException If the named stacker is empty */ public function popNamed ($stackerName) { - $this->partialStub('stackerName=' . $stackerName); + DebugMiddleware::getSelfInstance()->partialStub('stackerName=' . $stackerName); } /** @@ -93,7 +90,7 @@ class ???Stacker extends BaseStacker implements Stackable { * @throws EmptyStackerException If the named stacker is empty */ public function getNamed ($stackerName) { - $this->partialStub('stackerName=' . $stackerName); + DebugMiddleware::getSelfInstance()->partialStub('stackerName=' . $stackerName); } }