]> git.mxchange.org Git - mailer.git/blobdiff - inc/classes/main/commands/class_BaseCommand.php
Launcher scripts updated
[mailer.git] / inc / classes / main / commands / class_BaseCommand.php
index 825b2b052f7944346105cfae40f92fb2cbad5bd9..7a7cc26c88ca3239d3c7264ef47bb8606e2bc239 100644 (file)
@@ -4,7 +4,7 @@
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright(c) 2007, 2008 Roland Haeder, this is free software
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, this is free software
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
@@ -27,19 +27,15 @@ class BaseCommand extends BaseFrameworkSystem {
         */
        private $controllerName = "";
 
-       /**
-        * Resolver instance
-        */
-       private $resolverInstance = null;
-
        /**
         * Protected constructor
         *
+        * @param       $className      Name of the class
         * @return      void
         */
-       protected function __construct ($class) {
+       protected function __construct ($className) {
                // Call parent constructor
-               parent::__construct($class);
+               parent::__construct($className);
        }
 
        /**
@@ -60,25 +56,6 @@ class BaseCommand extends BaseFrameworkSystem {
        public final function getControllerName () {
                return $this->controllerName;
        }
-
-       /**
-        * Setter for resolver instance
-        *
-        * @param       $resolverInstance               Instance of a command resolver class
-        * @return      void
-        */
-       public final function setResolverInstance (CommandResolver $resolverInstance) {
-               $this->resolverInstance = $resolverInstance;
-       }
-
-       /**
-        * Getter for resolver instance
-        *
-        * @return      $resolverInstance               Instance of a command resolver class
-        */
-       public final function getResolverInstance () {
-               return $this->resolverInstance;
-       }
 }
 
 // [EOF]