]> git.mxchange.org Git - core.git/blobdiff - framework/main/classes/actions/html/class_HtmlLoginProfileAction.php
Continued:
[core.git] / framework / main / classes / actions / html / class_HtmlLoginProfileAction.php
index 27d678f4fb7c5b2e08c5a0aee8f27740b2214324..d2a9dec8fc1f93a64c34d27ea6b08299072df0e2 100644 (file)
@@ -50,14 +50,16 @@ class HtmlLoginProfileAction extends BaseAction implements PerformableAction, Re
         * @param       $resolverInstance       An instance of an action resolver
         * @return      $actionInstance         An instance of this action class
         */
-       public static final function createHtmlLoginProfileAction (ActionResolver $resolverInstance) {
+       public static final function createHtmlLoginProfileAction (ActionResolver $resolverInstance): PerformableAction {
                // Get a new instance
+               /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__, __LINE__)->traceMessage(sprintf('HTML-LOGIN-PROFILE-ACTION: resolverInstance=%s - CALLED!', $resolverInstance->__toString()));
                $actionInstance = new HtmlLoginProfileAction();
 
                // Set the resolver instance
                $actionInstance->setResolverInstance($resolverInstance);
 
                // Return the instance
+               /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__, __LINE__)->traceMessage(sprintf('HTML-LOGIN-PROFILE-ACTION: actionInstance=%s - EXIT!', $actionInstance->__toString()));
                return $actionInstance;
        }
 
@@ -68,8 +70,9 @@ class HtmlLoginProfileAction extends BaseAction implements PerformableAction, Re
         * @param       $responseInstance       An instance of a class with an Responseable interface
         * @return      void
         */
-       public function execute (Requestable $requestInstance, Responseable $responseInstance) {
+       public function execute (Requestable $requestInstance, Responseable $responseInstance): void {
                // Dummy method
+               /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__, __LINE__)->traceMessage(sprintf('HTML-LOGIN-PROFILE-ACTION: requestInstance=%s,responseInstance=%s - CALLED!', $requestInstance->__toString(), $responseInstance->__toString()));
        }
 
        /**
@@ -79,9 +82,13 @@ class HtmlLoginProfileAction extends BaseAction implements PerformableAction, Re
         * @param       $requestInstance                An instance of a class with an Requestable interface
         * @return      void
         */
-       public function addExtraFilters (Controller $controllerInstance, Requestable $requestInstance) {
+       public function addExtraFilters (Controller $controllerInstance, Requestable $requestInstance): void {
                // Add user status filter here
+               /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__, __LINE__)->traceMessage(sprintf('HTML-LOGIN-PROFILE-ACTION: controllerInstance=%s,requestInstance=%s - CALLED!', $controllerInstance->__toString(), $requestInstance->__toString()));
                $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('user_status_filter_class'));
+
+               // Trace message
+               /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__, __LINE__)->traceMessage('HTML-LOGIN-PROFILE-ACTION: EXIT!');
        }
 
 }