$controllerInstance = $resolverInstance->getControllerInstance();
// @TODO Add some more pre/post filters to the controller
- $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('username_validator'));
$controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('email_validator'));
+ $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('username_validator'));
// Return the prepared instance
return $commandInstance;