config = $config; $this->helper = $helper; } public function getName(): string { return 'Set default LDAP provider'; } public function run(IOutput $output): void { $current = $this->config->getSystemValue('ldapProviderFactory', null); if ($current === null) { $this->config->setSystemValue('ldapProviderFactory', LDAPProviderFactory::class); } } }