Appzcoder\CrudGenerator\Commands\CrudViewCommand::templateFormVars PHP Méthode

templateFormVars() public méthode

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