How does \Magento\Setup\Model\Installer.php::assertDeploymentConfigExists() work?

Context: How is the app/etc/config.php file generated by the \Magento\Setup\Model\Installer::createModulesConfig()?



Details: How does \Magento\Framework\App\DeploymentConfig::load() work?

See also: