How is the app/etc/config.php file generated on the module:enable console command?

Context: How is the app/etc/config.php file generated by the \Magento\Framework\Module\Status::setIsEnabled()?


See also: