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

getOutfile() private method

private getOutfile ( string $filename ) : string
$filename string
return string
    private function getOutfile($filename)
    {
        $paths = array('rootDir' => $this->_magentoRootFolder, 'moduleDir' => $this->moduleDirectory);
        /** @var $twig TwigHelper */
        $twig = $this->getHelper('twig');
        return $twig->renderString($filename, array_merge($this->twigVars, $paths));
    }