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

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


See also: