src/Graviton/GeneratorBundle/Generator/AbstractGenerator.php
protected function renderFile($template, $target, $parameters)
    {
        $this->fs->dumpFile(
            $target,
            $this->render($template, $parameters)
        );
    }
protected function renderFile($template, $target, $parameters)
    {
        $this->fs->dumpFile(
            $target,
            $this->render($template, $parameters)
        );
    }
protected function renderFile ( $ template , $ target , $ parameters ) { $ this -> fs -> dumpFile ( $ target , $ this -> render ( $ template , $ parameters ) ) ; }
renders a file form a twig template

@param string $template   template filename
@param string $target     where to generate to
@param array  $parameters template params

@return void
renders a file form a twig template