]> git.mxchange.org Git - core.git/blobdiff - inc/main/classes/commands/console/class_ConsoleFuseCommand.php
Continued:
[core.git] / inc / main / classes / commands / console / class_ConsoleFuseCommand.php
index d2849d8319dce06a6a4ac08696485a76f67189ea..22f4f5e7b57711356f2310f7b5531ea14f985857 100644 (file)
@@ -1,10 +1,17 @@
 <?php
+// Own namespace
+namespace CoreFramework\Command\Fuse;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+use CoreFramework\Response\Responseable;
+
 /**
  * A Fuse console command
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2015 Core Developer Team
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
@@ -60,7 +67,7 @@ class ConsoleFuseCommand extends BaseCommand implements Commandable {
                // Is the feature available?
                if (!FrameworkFeature::isFeatureAvailable('fuse')) {
                        // Feature not available, cannot continue
-                       self::createDebugInstance(__CLASS__)->debugOutput(sprintf('[%s:%d:] Feature "hub" not available.',
+                       self::createDebugInstance(__CLASS__, __LINE__)->debugOutput(sprintf('[%s:%d:] Feature "hub" not available.',
                                __METHOD__,
                                __LINE__
                        ));
@@ -83,7 +90,5 @@ class ConsoleFuseCommand extends BaseCommand implements Commandable {
        public function addExtraFilters (Controller $controllerInstance, Requestable $requestInstance) {
                // Empty for now ...
        }
-}
 
-// [EOF]
-?>
+}