N98\Magento\Command\Developer\Module\UpdateCommand::writeModuleConfig PHP Method

writeModuleConfig() protected method

Writes module config file for given options
protected writeModuleConfig ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface
    protected function writeModuleConfig(InputInterface $input, OutputInterface $output)
    {
        $configXml = $this->getConfigXml();
        $this->setVersion($input, $output, $configXml);
        $this->setGlobalNode($input, $output, $configXml);
        $this->setResourceModelNode($input, $configXml);
        $this->setRoutersNode($input, $configXml);
        $this->setEventsNode($input, $configXml);
        $this->setLayoutUpdatesNode($input, $configXml);
        $this->setTranslateNode($input, $configXml);
        $this->setDefaultNode($input, $configXml);
        $this->putConfigXml($configXml);
        $output->writeln('<info>Edited file: <comment>' . $this->getOutFile() . '<comment></info>');
    }