X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=framework%2Fmain%2Fclasses%2Fstacker%2Ffile%2Fclass_;h=091d752601158452d3ce2a9ef31aa9ecb085917a;hb=f861d6bc00f8a3ecf6b057f2aa93129572643896;hp=b3a3934a296b64453879dd106e456f45f9b78d9c;hpb=cad1ab5ecb2935a6ebf678555860c3bd96b525b0;p=core.git diff --git a/framework/main/classes/stacker/file/class_ b/framework/main/classes/stacker/file/class_ index b3a3934a..091d7526 100644 --- a/framework/main/classes/stacker/file/class_ +++ b/framework/main/classes/stacker/file/class_ @@ -1,14 +1,13 @@ * @version 0.0.0 -<<<<<<< HEAD:framework/main/classes/stacker/file/class_ - * @copyright Copyright (c) 2017 Core Developer Team -======= - * @copyright Copyright (c) 2016 Core Developer Team ->>>>>>> Some updates::inc/main/classes/stacker/file/class_ + * @copyright Copyright (c) 2023 Core Developer Team * @license GNU GPL 3.0 or any newer version * @link http://www.ship-simu.org * @@ -31,7 +30,7 @@ class ???FileStack extends BaseFileStack implements StackableFile, Registerable * * @return void */ - protected function __construct () { + private function __construct () { // Call parent constructor parent::__construct(__CLASS__); } @@ -62,7 +61,7 @@ class ???FileStack extends BaseFileStack implements StackableFile, Registerable * @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); } /** @@ -74,7 +73,7 @@ class ???FileStack extends BaseFileStack implements StackableFile, Registerable * @throws EmptyStackerException If the named stacker is empty */ public function popNamed ($stackerName) { - $this->partialStub('stackerName=' . $stackerName); + DebugMiddleware::getSelfInstance()->partialStub('stackerName=' . $stackerName); } /** @@ -86,7 +85,7 @@ class ???FileStack extends BaseFileStack implements StackableFile, Registerable * @throws EmptyStackerException If the named stacker is empty */ public function getNamed ($stackerName) { - $this->partialStub('stackerName=' . $stackerName); + DebugMiddleware::getSelfInstance()->partialStub('stackerName=' . $stackerName); } /** @@ -96,7 +95,7 @@ class ???FileStack extends BaseFileStack implements StackableFile, Registerable * @return void */ public function seek ($seekPosition) { - $this->partialStub('seekPosition=' . $seekPosition); + DebugMiddleware::getSelfInstance()->partialStub('seekPosition=' . $seekPosition); } /** @@ -105,7 +104,7 @@ class ???FileStack extends BaseFileStack implements StackableFile, Registerable * @return $size Size (in bytes) of file */ public function size () { - $this->partialStub(); + DebugMiddleware::getSelfInstance()->partialStub(); } }