X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=application%2Fcity%2Fclasses%2Fcommands%2Fhtml%2Fclass_CityHtmlResendLinkCommand.php;h=c625b14c35510748b474e1809eb077b9dd5acb35;hb=083892d43cd5e566fba63c0ef6d1c75dde5944f2;hp=e3ff35f3c9bd98ea3dc0c4d17a5f0c2ac2bc8a13;hpb=b9373eb6c1b134fdef22bda0f97a3e8ca34f3def;p=city.git diff --git a/application/city/classes/commands/html/class_CityHtmlResendLinkCommand.php b/application/city/classes/commands/html/class_CityHtmlResendLinkCommand.php index e3ff35f..c625b14 100644 --- a/application/city/classes/commands/html/class_CityHtmlResendLinkCommand.php +++ b/application/city/classes/commands/html/class_CityHtmlResendLinkCommand.php @@ -3,7 +3,13 @@ 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; /** @@ -65,10 +71,10 @@ 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(); + $applicationInstance = GenericRegistry::getRegistry()->getInstance('application'); // Get a RNG instance (Random Number Generator) $rngInstance = ObjectFactory::createObjectByConfiguredName('rng_class');