Also this must be "namespaced" ;-)
authorRoland Haeder <roland@mxchange.org>
Fri, 24 Feb 2017 20:09:48 +0000 (21:09 +0100)
committerRoland Haeder <roland@mxchange.org>
Tue, 28 Feb 2017 21:10:04 +0000 (22:10 +0100)
Signed-off-by: Roland H├Ąder <roland@mxchange.org>
application/tests/class_ApplicationHelper.php

index e2bb528..20cfaea 100644 (file)
@@ -200,7 +200,14 @@ class ApplicationHelper extends BaseFrameworkSystem implements ManageableApplica
                } // END - if
 
                // Get a controller resolver
-               $resolverClass = self::convertToClassName($this->getAppShortName() . '_' . $responseType . '_controller_resolver');
+               $resolverClass = sprintf(
+                       'CoreFramework\Resolver\Controller\%s',
+                       self::convertToClassName(sprintf(
+                               '%s_%s_controller_resolver',
+                               $this->getAppShortName(),
+                               $responseType
+                       ))
+               );
                $resolverInstance = ObjectFactory::createObjectByName($resolverClass, array($commandName, $this));
 
                // Get a controller instance as well