Continued:
[core.git] / framework / main / classes / commands / class_
index 40181f411d7a349010bd886d152398f6c071e48b..195b0b02754014216921d2771b2b8cc104c65b39 100644 (file)
@@ -1,10 +1,13 @@
 <?php
+// Import framework stuff
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
+
 /**
  * 
  *
  * @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
  *
@@ -27,7 +30,7 @@ class ???Command extends BaseCommand implements Commandable {
         *
         * @return      void
         */
-       protected function __construct () {
+       private function __construct () {
                // Call parent constructor
                parent::__construct(__CLASS__);
        }
@@ -57,7 +60,7 @@ class ???Command extends BaseCommand implements Commandable {
         * @return      void
         */
        public function execute (Requestable $requestInstance, Responseable $responseInstance) {
-               $this->partialStub('Unfinished!');
+               DebugMiddleware::getSelfInstance()->partialStub('Unfinished!');
        }
 
        /**
@@ -68,7 +71,7 @@ class ???Command extends BaseCommand implements Commandable {
         * @return      void
         */
        public function addExtraFilters (Controller $controllerInstance, Requestable $requestInstance) {
-               $this->partialStub('Unfinished!');
+               DebugMiddleware::getSelfInstance()->partialStub('Unfinished!');
        }
 
 }