X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fclasses%2Fmain%2Fcommands%2Fclass_BaseCommand.php;h=7a7cc26c88ca3239d3c7264ef47bb8606e2bc239;hb=c59dccf46c5d0e3b7f2687370b2b15023b1ecdfe;hp=825b2b052f7944346105cfae40f92fb2cbad5bd9;hpb=e2767d5148436d0c90ed66ed9290416353ae6e60;p=hub.git diff --git a/inc/classes/main/commands/class_BaseCommand.php b/inc/classes/main/commands/class_BaseCommand.php index 825b2b052..7a7cc26c8 100644 --- a/inc/classes/main/commands/class_BaseCommand.php +++ b/inc/classes/main/commands/class_BaseCommand.php @@ -4,7 +4,7 @@ * * @author Roland Haeder * @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]