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

writeModuleConfig() protected method

protected writeModuleConfig ( Symfony\Component\Console\Output\OutputInterface $output )
$output Symfony\Component\Console\Output\OutputInterface
    protected function writeModuleConfig(OutputInterface $output)
    {
        $outFile = $this->moduleDirectory . '/etc/config.xml';
        file_put_contents($outFile, $this->getHelper('twig')->render('dev/module/create/app/etc/modules/config.twig', $this->twigVars));
        $output->writeln('<info>Created file: <comment>' . $outFile . '<comment></info>');
    }