Appzcoder\CrudGenerator\Commands\CrudViewCommand::templateFormVars PHP 메소드

templateFormVars() 공개 메소드

Update values between %% with real values in form view.
public templateFormVars ( string $newFormFile ) : void
$newFormFile string
리턴 void
    public function templateFormVars($newFormFile)
    {
        File::put($newFormFile, str_replace('%%formFieldsHtml%%', $this->formFieldsHtml, File::get($newFormFile)));
    }