]> git.mxchange.org Git - core.git/blobdiff - inc/classes/main/resolver/controller/console/class_ConsoleControllerResolver.php
As of a good naming convention, do not short-cut variables
[core.git] / inc / classes / main / resolver / controller / console / class_ConsoleControllerResolver.php
index 6803513c1bc5fa74189d6ddf8725f90c74f13cae..36e1fb6842a7188481f54e1b61a1ea72ca9ef43f 100644 (file)
@@ -4,7 +4,7 @@
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009, 2010 Core Developer Team
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2011 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
@@ -49,12 +49,12 @@ class ConsoleControllerResolver extends BaseControllerResolver implements Contro
         * Creates an instance of a resolver class with a given command
         *
         * @param       $controllerName                         The controller we shall resolve
-        * @param       $appInstance                            An instance of a manageable application helper class
+        * @param       $applicationInstance            An instance of a manageable application helper class
         * @return      $resolverInstance                       The prepared controller resolver instance
         * @throws      EmptyVariableException          Thrown if default command is not set
         * @throws      InvalidControllerException      Thrown if default controller is invalid
         */
-       public static final function createConsoleControllerResolver ($controllerName, ManageableApplication $appInstance) {
+       public static final function createConsoleControllerResolver ($controllerName, ManageableApplication $applicationInstance) {
                // Create the new instance
                $resolverInstance = new ConsoleControllerResolver();
 
@@ -68,7 +68,7 @@ class ConsoleControllerResolver extends BaseControllerResolver implements Contro
                }
 
                // Set the application instance
-               $resolverInstance->setApplicationInstance($appInstance);
+               $resolverInstance->setApplicationInstance($applicationInstance);
 
                // Set command name
                $resolverInstance->setControllerName($controllerName);