]> 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 48345447d430200883670f628237820bd1eca161..22f4f5e7b57711356f2310f7b5531ea14f985857 100644 (file)
@@ -1,4 +1,11 @@
 <?php
+// Own namespace
+namespace CoreFramework\Command\Fuse;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+use CoreFramework\Response\Responseable;
+
 /**
  * A Fuse console command
  *
@@ -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]
-?>
+}