namespace Org\Mxchange\CoreFramework\Resolver;
// Import framework stuff
-use Org\Mxchange\CoreFramework\Controller\Controller;
use Org\Mxchange\CoreFramework\Generic\FrameworkInterface;
use Org\Mxchange\CoreFramework\Object\BaseFrameworkSystem;
-use Org\Mxchange\CoreFramework\Utils\String\StringUtils;
+use Org\Mxchange\CoreFramework\Utils\Strings\StringUtils;
/**
* A generic resolver class
*
* @author Roland Haeder <webmaster@shipsimu.org>
* @version 0.0.0
- * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2020 Core Developer Team
+ * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2023 Core Developer Team
* @license GNU GPL 3.0 or any newer version
* @link http://www.shipsimu.org
*
*/
private $resolvedInstance = NULL;
- /**
- * A controller instance
- */
- private $controllerInstance = NULL;
-
/**
* Protected constructor
*
* @param $classPrefix Last validated classPrefix
* @return void
*/
- protected final function setClassPrefix ($classPrefix) {
- $this->classPrefix = (string) $classPrefix;
+ protected final function setClassPrefix (string $classPrefix) {
+ $this->classPrefix = $classPrefix;
}
/**
$this->resolvedInstance = $resolvedInstance;
}
- /**
- * Setter for controller instance (this surely breaks a bit the MVC patterm)
- *
- * @param $controllerInstance An instance of the controller
- * @return void
- */
- public final function setControllerInstance (Controller $controllerInstance) {
- $this->controllerInstance = $controllerInstance;
- }
-
- /**
- * Getter for controller instance (this surely breaks a bit the MVC patterm)
- *
- * @return $controllerInstance An instance of the controller
- */
- public final function getControllerInstance () {
- return $this->controllerInstance;
- }
-
}