src/Way/Generators/Generator.php
public function make($templatePath, $templateData, $filePathToGenerate)
    {
        // We first need to compile the template,
        // according to the data that we provide.
        $template = $this->compile($templatePath, $templateData, new TemplateCompiler);

        // Now that we have the compiled template,
        // we can actually generate the file.
        $this->file->make($filePathToGenerate, $template);
    }
public function make($templatePath, $templateData, $filePathToGenerate)
    {
        // We first need to compile the template,
        // according to the data that we provide.
        $template = $this->compile($templatePath, $templateData, new TemplateCompiler);

        // Now that we have the compiled template,
        // we can actually generate the file.
        $this->file->make($filePathToGenerate, $template);
    }
public function make ( $ templatePath , $ templateData , $ filePathToGenerate ) { // We first need to compile the template, // according to the data that we provide. $ template = $ this -> compile ( $ templatePath , $ templateData , new TemplateCompiler ) ; // Now that we have the compiled template, // we can actually generate the file. $ this -> file -> make ( $ filePathToGenerate , $ template ) ; }
Run the generator

@param $templatePath
@param $templateData
@param $filePathToGenerate
Run the generator