Continued:
authorRoland Haeder <roland@mxchange.org>
Fri, 24 Feb 2017 20:51:47 +0000 (21:51 +0100)
committerRoland Haeder <roland@mxchange.org>
Tue, 28 Feb 2017 21:10:04 +0000 (22:10 +0100)
- added "import" for ControllerResolver and BaseControllerResolver
- fixed namespace lookup

Signed-off-by: Roland H├Ąder <roland@mxchange.org>
application/tests/class_ApplicationHelper.php
application/tests/classes/resolver/controller/class_TestsConsoleControllerResolver.php
inc/main/classes/resolver/controller/class_BaseControllerResolver.php
inc/main/classes/resolver/controller/console/class_ConsoleControllerResolver.php
inc/main/classes/resolver/controller/html/class_HtmlControllerResolver.php
inc/main/classes/resolver/controller/image/class_ImageControllerResolver.php
inc/main/exceptions/controller/class_DefaultControllerException.php
inc/main/interfaces/resolver/controller/class_ControllerResolver.php

index 20cfaea..c82b00d 100644 (file)
@@ -201,7 +201,7 @@ class ApplicationHelper extends BaseFrameworkSystem implements ManageableApplica
 
                // Get a controller resolver
                $resolverClass = sprintf(
-                       'CoreFramework\Resolver\Controller\%s',
+                       'CoreFramework\Tests\Resolver\Controller\%s',
                        self::convertToClassName(sprintf(
                                '%s_%s_controller_resolver',
                                $this->getAppShortName(),
index f5ed6a9..3c9023f 100644 (file)
@@ -5,6 +5,8 @@ namespace CoreFramework\Tests\Resolver\Controller;
 // Import framework stuff
 use CoreFramework\Controller\BaseController;
 use CoreFramework\Manager\ManageableApplication;
+use CoreFramework\Resolver\Controller\BaseControllerResolver;
+use CoreFramework\Resolver\Controller\ControllerResolver;
 
 /**
  * A resolver for resolving controllers locally
index 8f4f024..fdcf6af 100644 (file)
@@ -5,6 +5,7 @@ namespace CoreFramework\Resolver\Controller;
 // Import framework stuff
 use CoreFramework\Factory\ObjectFactory;
 use CoreFramework\Resolver\BaseResolver;
+use CoreFramework\Resolver\Controller\ControllerResolver;
 
 /**
  * A generic controller resolver class
index 096a4b1..500734e 100644 (file)
@@ -5,6 +5,8 @@ namespace CoreFramework\Resolver\Controller;
 // Import framework stuff
 use CoreFramework\Controller\BaseController;
 use CoreFramework\Manager\ManageableApplication;
+use CoreFramework\Resolver\Controller\ControllerResolver;
+use CoreFramework\Resolver\Controller\BaseControllerResolver;
 
 /**
  * A resolver for resolving controllers locally
index 0890dff..c48e274 100644 (file)
@@ -5,6 +5,8 @@ namespace CoreFramework\Resolver\Controller;
 // Import framework stuff
 use CoreFramework\Controller\BaseController;
 use CoreFramework\Manager\ManageableApplication;
+use CoreFramework\Resolver\Controller\ControllerResolver;
+use CoreFramework\Resolver\Controller\BaseControllerResolver;
 
 /**
  * A resolver for resolving controllers locally
index 3863c0e..1e4283a 100644 (file)
@@ -5,6 +5,8 @@ namespace CoreFramework\Resolver\Controller;
 // Import framework stuff
 use CoreFramework\Controller\BaseController;
 use CoreFramework\Manager\ManageableApplication;
+use CoreFramework\Resolver\Controller\ControllerResolver;
+use CoreFramework\Resolver\Controller\BaseControllerResolver;
 
 /**
  * A resolver for resolving controllers locally
index ece1440..7da3c36 100644 (file)
@@ -4,6 +4,7 @@ namespace CoreFramework\Controller;
 
 // Import framework stuff
 use CoreFramework\Generic\FrameworkException;
+use CoreFramework\Resolver\Controller\ControllerResolver;
 
 /**
  * This exception is thrown when the default controller is missing
index a3c5307..ff8f5b6 100644 (file)
@@ -3,6 +3,7 @@
 namespace CoreFramework\Resolver\Controller;
 
 // Import framework stuff
+use CoreFramework\Resolver\Controller\ControllerResolver;
 use CoreFramework\Resolver\Generic\Resolver;
 
 /**