<?php
/**
* A command for a failed startup request. This may happen when the user
- * "knows" the correct URL but goverment refuses to pay.
+ * "knows" the correct URL but government refuses to pay.
*
* @author Roland Haeder <webmaster@ship-simu.org>
* @version 0.0.0
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-class WebShipsimuGovermentStartupCommand extends BaseCommand implements Commandable {
+class WebShipsimuGovernmentStartupCommand extends BaseCommand implements Commandable {
/**
* Protected constructor
*
* @param $resolverInstance An instance of a command resolver class
* @return $commandInstance An instance a prepared command class
*/
- public final static function createWebShipsimuGovermentStartupCommand (CommandResolver $resolverInstance) {
+ public final static function createWebShipsimuGovernmentStartupCommand (CommandResolver $resolverInstance) {
// Get new instance
- $commandInstance = new WebShipsimuGovermentStartupCommand();
+ $commandInstance = new WebShipsimuGovernmentStartupCommand();
// Set the application instance
$commandInstance->setResolverInstance($resolverInstance);
// Add user status filter here
$controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('user_status_filter'));
- // Check if goverment can pay startup help
- $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('goverment_pays_startup_help_filter'));
+ // Check if government can pay startup help
+ $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('government_pays_startup_help_filter'));
// Verify password
$controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('account_password_filter'));