From: Roland Haeder Date: Fri, 24 Feb 2017 19:24:59 +0000 (+0100) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0c8148de6d0f7877fd774cbf091eecf82799025a;p=core.git Continued: - added "import" for Responseable - added "import" for StreamableInput - all configured class names should not start with a backslash so the class loader is not "confused" that there is an empty project/vendor name ... Well, currently it ignores it but later maybe not. - and last but not least, everywhere else no backslash is used for framework "imports" so it is more consistent Signed-off-by: Roland Häder --- diff --git a/application/tests/class_ApplicationHelper.php b/application/tests/class_ApplicationHelper.php index a65e2966..e2bb528d 100644 --- a/application/tests/class_ApplicationHelper.php +++ b/application/tests/class_ApplicationHelper.php @@ -168,7 +168,7 @@ class ApplicationHelper extends BaseFrameworkSystem implements ManageableApplica $responseType = self::getResponseTypeFromSystem(); // Create a new request object - $requestInstance = ObjectFactory::createObjectByName(sprintf('\CoreFramework\Request\%sRequest', self::convertToClassName($response))); + $requestInstance = ObjectFactory::createObjectByName(sprintf('CoreFramework\Request\%sRequest', self::convertToClassName($response))); // Remember request instance here $this->setRequestInstance($requestInstance); @@ -181,7 +181,7 @@ class ApplicationHelper extends BaseFrameworkSystem implements ManageableApplica } // END - if // ... and a new response object - $responseClass = sprintf('\CoreFramework\Response\%sResponse', self::convertToClassName($response)); + $responseClass = sprintf('CoreFramework\Response\%sResponse', self::convertToClassName($response)); $responseInstance = ObjectFactory::createObjectByName($responseClass, array($this)); // Remember response instance here diff --git a/inc/config.php b/inc/config.php index bb9750aa..fcbcef4a 100644 --- a/inc/config.php +++ b/inc/config.php @@ -92,7 +92,7 @@ $cfg->setConfigEntry('application_path', $cfg->getConfigEntry('base_path') . $cf $cfg->setConfigEntry('compile_output_path', 'templates/_compiled/'); // CFG: HTML-TEMPLATE-CLASS -$cfg->setConfigEntry('html_template_class', 'HtmlTemplateEngine'); +$cfg->setConfigEntry('html_template_class', 'CoreFramework\Template\Engine\HtmlTemplateEngine'); // CFG: DECO-XML-REWRITER-TEMPLATE-CLASS $cfg->setConfigEntry('deco_xml_rewriter_template_class', 'XmlRewriterTemplateDecorator'); @@ -179,7 +179,7 @@ $cfg->setConfigEntry('dataset_criteria_class', 'DataSetCriteria'); $cfg->setConfigEntry('update_criteria_class', 'UpdateCriteria'); // CFG: FILE-IO-CLASS -$cfg->setConfigEntry('file_io_class', 'FileIoHandler'); +$cfg->setConfigEntry('file_io_class', 'CoreFramework\Handler\Filesystem\FileIoHandler'); // CFG: DATABASE-RESULT-CLASS $cfg->setConfigEntry('database_result_class', 'CachedDatabaseResult'); diff --git a/inc/main/classes/actions/html/class_HtmlLoginProfileAction.php b/inc/main/classes/actions/html/class_HtmlLoginProfileAction.php index 2617c9e0..8fe62d9c 100644 --- a/inc/main/classes/actions/html/class_HtmlLoginProfileAction.php +++ b/inc/main/classes/actions/html/class_HtmlLoginProfileAction.php @@ -6,6 +6,7 @@ namespace CoreFramework\Action\Login; use CoreFramework\Factory\ObjectFactory; use CoreFramework\Registry\Registerable; use CoreFramework\Request\Requestable; +use CoreFramework\Response\Responseable; /** * An action for the profile page in login area diff --git a/inc/main/classes/actions/post_registration/class_LoginAfterRegistrationAction.php b/inc/main/classes/actions/post_registration/class_LoginAfterRegistrationAction.php index ed1f3212..b38d0934 100644 --- a/inc/main/classes/actions/post_registration/class_LoginAfterRegistrationAction.php +++ b/inc/main/classes/actions/post_registration/class_LoginAfterRegistrationAction.php @@ -4,6 +4,7 @@ namespace CoreFramework\Action\PostRegistration\Login; // Import framework stuff use CoreFramework\Request\Requestable; +use CoreFramework\Response\Responseable; /** * A post registration action to login after the registration is done diff --git a/inc/main/classes/auth/class_CookieAuth.php b/inc/main/classes/auth/class_CookieAuth.php index b25213ae..a98999f4 100644 --- a/inc/main/classes/auth/class_CookieAuth.php +++ b/inc/main/classes/auth/class_CookieAuth.php @@ -5,6 +5,7 @@ namespace CoreFramework\Auth; // Import framework stuff use CoreFramework\Object\BaseFrameworkSystem; use CoreFramework\Registry\Registerable; +use CoreFramework\Response\Responseable; /** * A cookie-bases authorization class diff --git a/inc/main/classes/class_BaseFrameworkSystem.php b/inc/main/classes/class_BaseFrameworkSystem.php index c09e84a4..cd74ad32 100644 --- a/inc/main/classes/class_BaseFrameworkSystem.php +++ b/inc/main/classes/class_BaseFrameworkSystem.php @@ -13,6 +13,7 @@ use CoreFramework\Middleware\Debug\DebugMiddleware; use CoreFramework\Registry\Register; use CoreFramework\Registry\Generic\Registry; use CoreFramework\Request\Requestable; +use CoreFramework\Response\Responseable; use CoreFramework\Stream\Output\OutputStreamer; use CoreFramework\Template\CompileableTemplate; @@ -59,7 +60,7 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface { private $requestInstance = NULL; /** - * Instance of a Responsable class + * Instance of a Responseable class */ private $responseInstance = NULL; diff --git a/inc/main/classes/commands/class_BaseCommand.php b/inc/main/classes/commands/class_BaseCommand.php index b2bb4c6d..3feb617e 100644 --- a/inc/main/classes/commands/class_BaseCommand.php +++ b/inc/main/classes/commands/class_BaseCommand.php @@ -6,6 +6,7 @@ namespace CoreFramework\Command; use CoreFramework\Factory\ObjectFactory; use CoreFramework\Object\BaseFrameworkSystem; use CoreFramework\Request\Requestable; +use CoreFramework\Response\Responseable; /** * A general (base) command diff --git a/inc/main/classes/commands/console/class_ConsoleFuseCommand.php b/inc/main/classes/commands/console/class_ConsoleFuseCommand.php index 9a5a6ddb..22f4f5e7 100644 --- a/inc/main/classes/commands/console/class_ConsoleFuseCommand.php +++ b/inc/main/classes/commands/console/class_ConsoleFuseCommand.php @@ -4,6 +4,7 @@ namespace CoreFramework\Command\Fuse; // Import framework stuff use CoreFramework\Request\Requestable; +use CoreFramework\Response\Responseable; /** * A Fuse console command diff --git a/inc/main/classes/commands/html/class_HtmlConfirmCommand.php b/inc/main/classes/commands/html/class_HtmlConfirmCommand.php index a732e0c3..a58f33e3 100644 --- a/inc/main/classes/commands/html/class_HtmlConfirmCommand.php +++ b/inc/main/classes/commands/html/class_HtmlConfirmCommand.php @@ -7,6 +7,7 @@ use CoreFramework\Factory\ObjectFactory; use CoreFramework\Generic\NullPointerException; use CoreFramework\Registry\Generic\Registry; use CoreFramework\Request\Requestable; +use CoreFramework\Response\Responseable; /** * A command for the confirmation link handling diff --git a/inc/main/classes/commands/html/class_HtmlDoFormCommand.php b/inc/main/classes/commands/html/class_HtmlDoFormCommand.php index a7f89d38..b03c2df9 100644 --- a/inc/main/classes/commands/html/class_HtmlDoFormCommand.php +++ b/inc/main/classes/commands/html/class_HtmlDoFormCommand.php @@ -4,6 +4,7 @@ namespace CoreFramework\Command\Form; // Import framework stuff use CoreFramework\Request\Requestable; +use CoreFramework\Response\Responseable; /** * A command for the form processor diff --git a/inc/main/classes/commands/html/class_HtmlHomeCommand.php b/inc/main/classes/commands/html/class_HtmlHomeCommand.php index 9717ad01..f8bc1c5a 100644 --- a/inc/main/classes/commands/html/class_HtmlHomeCommand.php +++ b/inc/main/classes/commands/html/class_HtmlHomeCommand.php @@ -5,6 +5,7 @@ namespace CoreFramework\Command\Guest; // Import framework stuff use CoreFramework\Factory\ObjectFactory; use CoreFramework\Request\Requestable; +use CoreFramework\Response\Responseable; /** * A command for the home page diff --git a/inc/main/classes/commands/html/class_HtmlLoginAreaCommand.php b/inc/main/classes/commands/html/class_HtmlLoginAreaCommand.php index 27be3a40..6db2c2ce 100644 --- a/inc/main/classes/commands/html/class_HtmlLoginAreaCommand.php +++ b/inc/main/classes/commands/html/class_HtmlLoginAreaCommand.php @@ -6,6 +6,7 @@ namespace CoreFramework\Command\Login; use CoreFramework\Factory\ObjectFactory; use CoreFramework\Registry\Generic\Registry; use CoreFramework\Request\Requestable; +use CoreFramework\Response\Responseable; /** * A command for the login area (member/gamer area) diff --git a/inc/main/classes/commands/html/class_HtmlLoginCommand.php b/inc/main/classes/commands/html/class_HtmlLoginCommand.php index 5a025310..5238d4de 100644 --- a/inc/main/classes/commands/html/class_HtmlLoginCommand.php +++ b/inc/main/classes/commands/html/class_HtmlLoginCommand.php @@ -7,6 +7,7 @@ use CoreFramework\Factory\ObjectFactory; use CoreFramework\Registry\Registerable; use CoreFramework\Registry\Generic\Registry; use CoreFramework\Request\Requestable; +use CoreFramework\Response\Responseable; /** * A command for the login form diff --git a/inc/main/classes/commands/html/class_HtmlLoginFailedCommand.php b/inc/main/classes/commands/html/class_HtmlLoginFailedCommand.php index 74530ec4..62f3149f 100644 --- a/inc/main/classes/commands/html/class_HtmlLoginFailedCommand.php +++ b/inc/main/classes/commands/html/class_HtmlLoginFailedCommand.php @@ -5,6 +5,7 @@ namespace CoreFramework\Command\Failed; // Import framework stuff use CoreFramework\Factory\ObjectFactory; use CoreFramework\Request\Requestable; +use CoreFramework\Response\Responseable; /** * A command for the login failed page diff --git a/inc/main/classes/commands/html/class_HtmlLogoutCommand.php b/inc/main/classes/commands/html/class_HtmlLogoutCommand.php index df0a7ba1..c27e373a 100644 --- a/inc/main/classes/commands/html/class_HtmlLogoutCommand.php +++ b/inc/main/classes/commands/html/class_HtmlLogoutCommand.php @@ -5,6 +5,7 @@ namespace CoreFramework\Command\Login; // Import framework stuff use CoreFramework\Factory\ObjectFactory; use CoreFramework\Request\Requestable; +use CoreFramework\Response\Responseable; /** * A command for logout diff --git a/inc/main/classes/commands/html/class_HtmlLogoutDoneCommand.php b/inc/main/classes/commands/html/class_HtmlLogoutDoneCommand.php index d0211b31..ded40104 100644 --- a/inc/main/classes/commands/html/class_HtmlLogoutDoneCommand.php +++ b/inc/main/classes/commands/html/class_HtmlLogoutDoneCommand.php @@ -5,6 +5,7 @@ namespace CoreFramework\Command\Logout; // Import framework stuff use CoreFramework\Factory\ObjectFactory; use CoreFramework\Request\Requestable; +use CoreFramework\Response\Responseable; /** * A command for the login failed page diff --git a/inc/main/classes/commands/html/class_HtmlProblemCommand.php b/inc/main/classes/commands/html/class_HtmlProblemCommand.php index c452c2f7..b90ca404 100644 --- a/inc/main/classes/commands/html/class_HtmlProblemCommand.php +++ b/inc/main/classes/commands/html/class_HtmlProblemCommand.php @@ -4,6 +4,7 @@ namespace CoreFramework\Command\Failed; // Import framework stuff use CoreFramework\Request\Requestable; +use CoreFramework\Response\Responseable; /** * A command for Problem page diff --git a/inc/main/classes/commands/html/class_HtmlRegisterCommand.php b/inc/main/classes/commands/html/class_HtmlRegisterCommand.php index 676b48a1..e8867d44 100644 --- a/inc/main/classes/commands/html/class_HtmlRegisterCommand.php +++ b/inc/main/classes/commands/html/class_HtmlRegisterCommand.php @@ -7,6 +7,7 @@ use CoreFramework\Factory\ObjectFactory; use CoreFramework\Registry\Registerable; use CoreFramework\Registry\Generic\Registry; use CoreFramework\Request\Requestable; +use CoreFramework\Response\Responseable; /** * A command class for the registration form diff --git a/inc/main/classes/commands/html/class_HtmlResendLinkCommand.php b/inc/main/classes/commands/html/class_HtmlResendLinkCommand.php index 860d91fe..cd657967 100644 --- a/inc/main/classes/commands/html/class_HtmlResendLinkCommand.php +++ b/inc/main/classes/commands/html/class_HtmlResendLinkCommand.php @@ -6,6 +6,7 @@ namespace CoreFramework\Command\Guest; use CoreFramework\Factory\ObjectFactory; use CoreFramework\Registry\Generic\Registry; use CoreFramework\Request\Requestable; +use CoreFramework\Response\Responseable; /** * A command class for resending the confirmation link diff --git a/inc/main/classes/commands/html/class_HtmlStatusCommand.php b/inc/main/classes/commands/html/class_HtmlStatusCommand.php index 7dc96224..4532722f 100644 --- a/inc/main/classes/commands/html/class_HtmlStatusCommand.php +++ b/inc/main/classes/commands/html/class_HtmlStatusCommand.php @@ -5,6 +5,7 @@ namespace CoreFramework\Command\Status; // Import framework stuff use CoreFramework\Factory\ObjectFactory; use CoreFramework\Request\Requestable; +use CoreFramework\Response\Responseable; /** * A command for Status page diff --git a/inc/main/classes/commands/image/class_ImageCodeCaptchaCommand.php b/inc/main/classes/commands/image/class_ImageCodeCaptchaCommand.php index 63146441..95876424 100644 --- a/inc/main/classes/commands/image/class_ImageCodeCaptchaCommand.php +++ b/inc/main/classes/commands/image/class_ImageCodeCaptchaCommand.php @@ -4,6 +4,7 @@ namespace CoreFramework\Command\Captcha; // Import framework stuff use CoreFramework\Request\Requestable; +use CoreFramework\Response\Responseable; /** * A command for creating code CAPTCHAs diff --git a/inc/main/classes/controller/class_BaseController.php b/inc/main/classes/controller/class_BaseController.php index e1215a5a..84f2eb9a 100644 --- a/inc/main/classes/controller/class_BaseController.php +++ b/inc/main/classes/controller/class_BaseController.php @@ -8,6 +8,7 @@ use CoreFramework\Object\BaseFrameworkSystem; use CoreFramework\Registry\Generic\Registry; use CoreFramework\Registry\Registerable; use CoreFramework\Request\Requestable; +use CoreFramework\Response\Responseable; /** * A generic controller class. You should extend this base class if you want to @@ -99,7 +100,7 @@ class BaseController extends BaseFrameworkSystem implements Registerable { * UserAuthorizationException is thrown. * * @param $requestInstance An instance of a Requestable class - * @param $responseInstance An instance of a Responsable class + * @param $responseInstance An instance of a Responseable class * @return void */ public function genericHanleRequestLoginFailedRedirect (Requestable $requestInstance, Responseable $responseInstance) { @@ -145,7 +146,7 @@ class BaseController extends BaseFrameworkSystem implements Registerable { * but request becomes valid after pre-filters run. * * @param $requestInstance An instance of a Requestable class - * @param $responseInstance An instance of a Responsable class + * @param $responseInstance An instance of a Responseable class * @return void */ public function genericHanleRequestLoginAreaFailedRedirect (Requestable $requestInstance, Responseable $responseInstance) { @@ -251,7 +252,7 @@ class BaseController extends BaseFrameworkSystem implements Registerable { * * @param $filterChain Chain of the filter to execute * @param $requestInstance An instance of a Requestable class - * @param $responseInstance An instance of a Responsable class + * @param $responseInstance An instance of a Responseable class * @return void * @throws InvalidFilterChainException If the filter chain is invalid */ @@ -270,7 +271,7 @@ class BaseController extends BaseFrameworkSystem implements Registerable { * Executes all pre filters * * @param $requestInstance An instance of a Requestable class - * @param $responseInstance An instance of a Responsable class + * @param $responseInstance An instance of a Responseable class * @return void */ protected function executePreFilters (Requestable $requestInstance, Responseable $responseInstance) { @@ -282,7 +283,7 @@ class BaseController extends BaseFrameworkSystem implements Registerable { * Executes all post filters * * @param $requestInstance An instance of a Requestable class - * @param $responseInstance An instance of a Responsable class + * @param $responseInstance An instance of a Responseable class * @return void */ protected function executePostFilters (Requestable $requestInstance, Responseable $responseInstance) { diff --git a/inc/main/classes/controller/console/class_ConsoleDefaultController.php b/inc/main/classes/controller/console/class_ConsoleDefaultController.php index cefd947a..08f15058 100644 --- a/inc/main/classes/controller/console/class_ConsoleDefaultController.php +++ b/inc/main/classes/controller/console/class_ConsoleDefaultController.php @@ -4,6 +4,7 @@ namespace CoreFramework\Controller\Default; // Import framework stuff use CoreFramework\Request\Requestable; +use CoreFramework\Response\Responseable; /** * The default controller for all other console requests diff --git a/inc/main/classes/controller/console/class_ConsoleDefaultNewsController.php b/inc/main/classes/controller/console/class_ConsoleDefaultNewsController.php index dbb630fe..a049d1b2 100644 --- a/inc/main/classes/controller/console/class_ConsoleDefaultNewsController.php +++ b/inc/main/classes/controller/console/class_ConsoleDefaultNewsController.php @@ -5,6 +5,7 @@ namespace CoreFramework\Controller\Default; // Import framework stuff use CoreFramework\Factory\ObjectFactory; use CoreFramework\Request\Requestable; +use CoreFramework\Response\Responseable; /** * The default controller with news for e.g. home or news page diff --git a/inc/main/classes/controller/html/class_HtmlConfirmController.php b/inc/main/classes/controller/html/class_HtmlConfirmController.php index 3dbe58b3..4300853d 100644 --- a/inc/main/classes/controller/html/class_HtmlConfirmController.php +++ b/inc/main/classes/controller/html/class_HtmlConfirmController.php @@ -4,6 +4,7 @@ namespace CoreFramework\Controller\Confirm; // Import framework stuff use CoreFramework\Factory\ObjectFactory; +use CoreFramework\Response\Responseable; /** * Controller for confirmation link @@ -66,7 +67,7 @@ class HtmlConfirmController extends BaseController implements Controller { * Handles the given request and response * * @param $requestInstance An instance of a Requestable class - * @param $responseInstance An instance of a Responsable class + * @param $responseInstance An instance of a Responseable class * @return void */ public function handleRequest (Requestable $requestInstance, Responseable $responseInstance) { diff --git a/inc/main/classes/controller/html/class_HtmlDefaultController.php b/inc/main/classes/controller/html/class_HtmlDefaultController.php index 6e72f362..fc958b88 100644 --- a/inc/main/classes/controller/html/class_HtmlDefaultController.php +++ b/inc/main/classes/controller/html/class_HtmlDefaultController.php @@ -4,6 +4,7 @@ namespace CoreFramework\Controller\Default; // Import framework stuff use CoreFramework\Request\Requestable; +use CoreFramework\Response\Responseable; /** * The default controller for all other web requests @@ -60,7 +61,7 @@ class HtmlDefaultController extends BaseController implements Controller { * Handles the given request and response * * @param $requestInstance An instance of a Requestable class - * @param $responseInstance An instance of a Responsable class + * @param $responseInstance An instance of a Responseable class * @return void */ public function handleRequest (Requestable $requestInstance, Responseable $responseInstance) { diff --git a/inc/main/classes/controller/html/class_HtmlDefaultNewsController.php b/inc/main/classes/controller/html/class_HtmlDefaultNewsController.php index 81d672ec..4f777407 100644 --- a/inc/main/classes/controller/html/class_HtmlDefaultNewsController.php +++ b/inc/main/classes/controller/html/class_HtmlDefaultNewsController.php @@ -4,6 +4,7 @@ namespace CoreFramework\Controller\News; // Import framework stuff use CoreFramework\Factory\ObjectFactory; +use CoreFramework\Response\Responseable; /** * The default controller with news for e.g. home or news page @@ -63,7 +64,7 @@ class HtmlDefaultNewsController extends BaseController implements Controller { * Handles the given request and response * * @param $requestInstance An instance of a Requestable class - * @param $responseInstance An instance of a Responsable class + * @param $responseInstance An instance of a Responseable class * @return void */ public function handleRequest (Requestable $requestInstance, Responseable $responseInstance) { diff --git a/inc/main/classes/controller/html/class_HtmlLoginController.php b/inc/main/classes/controller/html/class_HtmlLoginController.php index 076a328c..552c0b6b 100644 --- a/inc/main/classes/controller/html/class_HtmlLoginController.php +++ b/inc/main/classes/controller/html/class_HtmlLoginController.php @@ -4,6 +4,7 @@ namespace CoreFramework\Controller\Login; // Import framework stuff use CoreFramework\Request\Requestable; +use CoreFramework\Response\Responseable; /** * Controller for login form with password reminder and maybe enabled @@ -61,7 +62,7 @@ class HtmlLoginController extends BaseController implements Controller { * Handles the given request and response * * @param $requestInstance An instance of a Requestable class - * @param $responseInstance An instance of a Responsable class + * @param $responseInstance An instance of a Responseable class * @return void */ public function handleRequest (Requestable $requestInstance, Responseable $responseInstance) { diff --git a/inc/main/classes/controller/html/class_HtmlLoginFailedController.php b/inc/main/classes/controller/html/class_HtmlLoginFailedController.php index d110d369..b1c1f7f3 100644 --- a/inc/main/classes/controller/html/class_HtmlLoginFailedController.php +++ b/inc/main/classes/controller/html/class_HtmlLoginFailedController.php @@ -4,6 +4,7 @@ namespace CoreFramework\Controller\Failed; // Import framework stuff use CoreFramework\Request\Requestable; +use CoreFramework\Response\Responseable; /** * A controller for login failed page @@ -59,7 +60,7 @@ class HtmlLoginFailedController extends BaseController implements Controller { * Handles the given request and response * * @param $requestInstance An instance of a Requestable class - * @param $responseInstance An instance of a Responsable class + * @param $responseInstance An instance of a Responseable class * @return void */ public function handleRequest (Requestable $requestInstance, Responseable $responseInstance) { diff --git a/inc/main/classes/controller/html/class_HtmlLogoutController.php b/inc/main/classes/controller/html/class_HtmlLogoutController.php index 412e6206..8cd75c35 100644 --- a/inc/main/classes/controller/html/class_HtmlLogoutController.php +++ b/inc/main/classes/controller/html/class_HtmlLogoutController.php @@ -5,6 +5,7 @@ namespace CoreFramework\Controller\Logout; // Import framework stuff use CoreFramework\Factory\ObjectFactory; use CoreFramework\Request\Requestable; +use CoreFramework\Response\Responseable; /** * The default controller for logout page @@ -67,7 +68,7 @@ class HtmlLogoutController extends BaseController implements Controller { * Handles the given request and response * * @param $requestInstance An instance of a Requestable class - * @param $responseInstance An instance of a Responsable class + * @param $responseInstance An instance of a Responseable class * @return void */ public function handleRequest (Requestable $requestInstance, Responseable $responseInstance) { diff --git a/inc/main/classes/controller/html/class_HtmlLogoutDoneController.php b/inc/main/classes/controller/html/class_HtmlLogoutDoneController.php index 5c1dbdf5..93ea1371 100644 --- a/inc/main/classes/controller/html/class_HtmlLogoutDoneController.php +++ b/inc/main/classes/controller/html/class_HtmlLogoutDoneController.php @@ -60,7 +60,7 @@ class HtmlLogoutDoneController extends BaseController implements Controller { * Handles the given request and response * * @param $requestInstance An instance of a Requestable class - * @param $responseInstance An instance of a Responsable class + * @param $responseInstance An instance of a Responseable class * @return void */ public function handleRequest (Requestable $requestInstance, Responseable $responseInstance) { diff --git a/inc/main/classes/controller/html/class_HtmlProblemController.php b/inc/main/classes/controller/html/class_HtmlProblemController.php index 65fcd4ad..89134f35 100644 --- a/inc/main/classes/controller/html/class_HtmlProblemController.php +++ b/inc/main/classes/controller/html/class_HtmlProblemController.php @@ -4,6 +4,7 @@ namespace CoreFramework\Controller\Problem; // Import framework stuff use CoreFramework\Request\Requestable; +use CoreFramework\Response\Responseable; /** * Controller for problem requests @@ -60,7 +61,7 @@ class HtmlProblemController extends BaseController implements Controller { * Handles the given request and response * * @param $requestInstance An instance of a Requestable class - * @param $responseInstance An instance of a Responsable class + * @param $responseInstance An instance of a Responseable class * @return void */ public function handleRequest (Requestable $requestInstance, Responseable $responseInstance) { diff --git a/inc/main/classes/controller/html/class_HtmlRegisterController.php b/inc/main/classes/controller/html/class_HtmlRegisterController.php index 9f19210e..194ead9a 100644 --- a/inc/main/classes/controller/html/class_HtmlRegisterController.php +++ b/inc/main/classes/controller/html/class_HtmlRegisterController.php @@ -1,4 +1,10 @@