]> git.mxchange.org Git - core.git/blobdiff - framework/main/classes/resolver/class_BaseResolver.php
Continued:
[core.git] / framework / main / classes / resolver / class_BaseResolver.php
index c92a0ab263bd386565c1ff7b10aaeb9c475c14c1..58816825f03653e0d1f190ee56bbb04b1ad89a87 100644 (file)
@@ -3,7 +3,6 @@
 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;
@@ -57,11 +56,6 @@ abstract class BaseResolver extends BaseFrameworkSystem {
         */
        private $resolvedInstance = NULL;
 
-       /**
-        * A controller instance
-        */
-       private $controllerInstance = NULL;
-
        /**
         * Protected constructor
         *
@@ -142,8 +136,8 @@ abstract class BaseResolver extends BaseFrameworkSystem {
         * @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;
        }
 
        /**
@@ -165,23 +159,4 @@ abstract class BaseResolver extends BaseFrameworkSystem {
                $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;
-       }
-
 }