Continued:
[core.git] / inc / main / classes / commands / console / class_ConsoleFuseCommand.php
index 9677a8c7834e31373350b8da3b382325bd47db62..9a5a6ddbc832b775d98d8b0deb2a897bdc63bd03 100644 (file)
@@ -1,10 +1,16 @@
 <?php
+// Own namespace
+namespace CoreFramework\Command\Fuse;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
 /**
  * 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 +66,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__
                        ));
@@ -72,7 +78,16 @@ class ConsoleFuseCommand extends BaseCommand implements Commandable {
                // @TODO Unfinished
                $this->partialStub('Still unfinished! ;-)');
        }
-}
 
-// [EOF]
-?>
+       /**
+        * Adds extra filters to the given controller instance
+        *
+        * @param       $controllerInstance             A controller instance
+        * @param       $requestInstance                An instance of a class with an Requestable interface
+        * @return      void
+        */
+       public function addExtraFilters (Controller $controllerInstance, Requestable $requestInstance) {
+               // Empty for now ...
+       }
+
+}