public function generateFile(string $targetPath, string $templateName, array $variables)
    {
        $variables = array_merge($variables, [
            'helper' => $this->twigHelper,
        ]);

        $this->addOperation($targetPath, $templateName, $variables);
    }
public function generateFile(string $targetPath, string $templateName, array $variables)
    {
        $variables = array_merge($variables, [
            'helper' => $this->twigHelper,
        ]);

        $this->addOperation($targetPath, $templateName, $variables);
    }
public function generateFile ( string $ targetPath , string $ templateName , array $ variables ) { $ variables = array_merge ( $ variables , [ 'helper' => $ this -> twigHelper , ] ) ; $ this -> addOperation ( $ targetPath , $ templateName , $ variables ) ; }
Generate a normal file from a template.

@param string $targetPath
@param string $templateName
@param array  $variables
Generate a normal file from a template .