From: Roland Haeder Date: Fri, 24 Feb 2017 20:09:48 +0000 (+0100) Subject: Also this must be "namespaced" ;-) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1fa2aa822fb2d21d85ed0b0a2821f6766583e376;p=core.git Also this must be "namespaced" ;-) Signed-off-by: Roland Häder --- diff --git a/application/tests/class_ApplicationHelper.php b/application/tests/class_ApplicationHelper.php index e2bb528d..20cfaeaf 100644 --- a/application/tests/class_ApplicationHelper.php +++ b/application/tests/class_ApplicationHelper.php @@ -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