getSignalSlotDispatcher(); $dispatcher->connect( ConfigurationManager::class, 'configurationManagerReady', function (ConfigurationManager $configurationManager) { $lockStoreDir = $configurationManager->getConfiguration( ConfigurationManager::CONFIGURATION_TYPE_SETTINGS, 'DigiComp.FlowSessionLock.lockStoreDir' ); if (is_string($lockStoreDir)) { Files::createDirectoryRecursively($lockStoreDir); } } ); } }