Instead of retrieving configuration from the service manager, I'd rather that we create a factory for the ApiProblemListener that injects the configuration in the constructor.