X-Git-Url: https://git.mxchange.org/?p=shipsimu.git;a=blobdiff_plain;f=application%2Fship-simu%2Fmain%2Fcommands%2Fweb%2Fgovernment%2Fclass_WebShipsimuGovernmentStartupCommand.php;h=fd6cb12331287f300b425485ef3943d9321ff666;hp=4464074923eff1de1bac4f497790a94378ccf0e8;hb=001114501684814a9126d5c306a98f4a659e3c48;hpb=bbacce2b01c210cb194f67c7abb7be9bc8c5f6ea diff --git a/application/ship-simu/main/commands/web/government/class_WebShipsimuGovernmentStartupCommand.php b/application/ship-simu/main/commands/web/government/class_WebShipsimuGovernmentStartupCommand.php index 4464074..fd6cb12 100644 --- a/application/ship-simu/main/commands/web/government/class_WebShipsimuGovernmentStartupCommand.php +++ b/application/ship-simu/main/commands/web/government/class_WebShipsimuGovernmentStartupCommand.php @@ -59,7 +59,11 @@ class WebShipsimuGovernmentStartupCommand extends BaseCommand implements Command * @todo 0% done */ public function execute (Requestable $requestInstance, Responseable $responseInstance) { - $this->partialStub('Unfinished method.'); + // Get a wrapper instance + $wrapperInstance = ObjectFactory::createObjectByConfiguredName('user_gov_wrapper_class'); + + // Register the startup help + $wrapperInstance->registerStartupHelpByRequest($requestInstance); } /** @@ -84,7 +88,7 @@ class WebShipsimuGovernmentStartupCommand extends BaseCommand implements Command $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('account_password_filter')); // Verify CAPTCHA code - $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('captcha_refill_verifier_filter')); + $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('captcha_government_verifier_filter')); } }