]> git.mxchange.org Git - shipsimu.git/blobdiff - application/ship-simu/main/commands/web/class_WebShipsimuRegisterCommand.php
More object are configureable, cache initially added
[shipsimu.git] / application / ship-simu / main / commands / web / class_WebShipsimuRegisterCommand.php
index 0b41b4fe913e08c03e92cdba110eb77144756479..86b95269e349f59599f06bcadd91a114e98e167a 100644 (file)
@@ -59,7 +59,7 @@ class WebShipsimuRegisterCommand extends BaseCommand implements Commandable {
                $controllerInstance = $resolverInstance->getControllerInstance();
 
                // @TODO Add some more pre/post filters to the controller
-               $controllerInstance->addPreFilter(UserNameValidatorFilter::createUserNameValidatorFilter());
+               $controllerInstance->addPreFilter(ObjectFactory::createObjectByName('UserNameValidatorFilter'));
 
                // Return the prepared instance
                return $commandInstance;