]> git.mxchange.org Git - city.git/blobdiff - application/city/classes/commands/html/class_CityHtmlResendLinkCommand.php
Continued:
[city.git] / application / city / classes / commands / html / class_CityHtmlResendLinkCommand.php
index 47991bbc01130140ad9696c4adc19a8b1bc90e12..b67be6783f50c02fda4877b559321bc7c6d65491 100644 (file)
@@ -1,4 +1,17 @@
 <?php
+// Own namespace
+namespace Org\Mxchange\City\Command;
+
+// Import framework stuff
+use Org\Mxchange\CoreFramework\Command\BaseCommand;
+use Org\Mxchange\CoreFramework\Command\Commandable;
+use Org\Mxchange\CoreFramework\Controller\Controller;
+use Org\Mxchange\CoreFramework\Factory\ObjectFactory;
+use Org\Mxchange\CoreFramework\Registry\GenericRegistry;
+use Org\Mxchange\CoreFramework\Request\Requestable;
+use Org\Mxchange\CoreFramework\Resolver\Command\CommandResolver;
+use Org\Mxchange\CoreFramework\Response\Responseable;
+
 /**
  * A command class for resending the confirmation link
  *
@@ -58,7 +71,7 @@ class CityHtmlResendLinkCommand extends BaseCommand implements Commandable {
         */
        public function execute (Requestable $requestInstance, Responseable $responseInstance) {
                // Get user instance from registry
-               $userInstance = Registry::getRegistry()->getInstance('user');
+               $userInstance = GenericRegistry::getRegistry()->getInstance('user');
 
                // Get an application instance
                $applicationInstance = $this->getResolverInstance()->getApplicationInstance();
@@ -130,6 +143,3 @@ class CityHtmlResendLinkCommand extends BaseCommand implements Commandable {
                $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('user_unconfirmed_filter'));
        }
 }
-
-// [EOF]
-?>