public function templateIndexVars($newIndexFile)
    {
        File::put($newIndexFile, str_replace('%%formHeadingHtml%%', $this->formHeadingHtml, File::get($newIndexFile)));
        File::put($newIndexFile, str_replace('%%formBodyHtml%%', $this->formBodyHtml, File::get($newIndexFile)));
        File::put($newIndexFile, str_replace('%%crudName%%', $this->crudName, File::get($newIndexFile)));
        File::put($newIndexFile, str_replace('%%crudNameCap%%', $this->crudNameCap, File::get($newIndexFile)));
        File::put($newIndexFile, str_replace('%%modelName%%', $this->modelName, File::get($newIndexFile)));
        File::put($newIndexFile, str_replace('%%routeGroup%%', $this->routeGroup, File::get($newIndexFile)));
    }
public function templateIndexVars($newIndexFile)
    {
        File::put($newIndexFile, str_replace('%%formHeadingHtml%%', $this->formHeadingHtml, File::get($newIndexFile)));
        File::put($newIndexFile, str_replace('%%formBodyHtml%%', $this->formBodyHtml, File::get($newIndexFile)));
        File::put($newIndexFile, str_replace('%%crudName%%', $this->crudName, File::get($newIndexFile)));
        File::put($newIndexFile, str_replace('%%crudNameCap%%', $this->crudNameCap, File::get($newIndexFile)));
        File::put($newIndexFile, str_replace('%%modelName%%', $this->modelName, File::get($newIndexFile)));
        File::put($newIndexFile, str_replace('%%routeGroup%%', $this->routeGroup, File::get($newIndexFile)));
    }
public function templateIndexVars ( $ newIndexFile ) { File :: put ( $ newIndexFile , str_replace ( '%%formHeadingHtml%%' , $ this -> formHeadingHtml , File :: get ( $ newIndexFile ) ) ) ; File :: put ( $ newIndexFile , str_replace ( '%%formBodyHtml%%' , $ this -> formBodyHtml , File :: get ( $ newIndexFile ) ) ) ; File :: put ( $ newIndexFile , str_replace ( '%%crudName%%' , $ this -> crudName , File :: get ( $ newIndexFile ) ) ) ; File :: put ( $ newIndexFile , str_replace ( '%%crudNameCap%%' , $ this -> crudNameCap , File :: get ( $ newIndexFile ) ) ) ; File :: put ( $ newIndexFile , str_replace ( '%%modelName%%' , $ this -> modelName , File :: get ( $ newIndexFile ) ) ) ; File :: put ( $ newIndexFile , str_replace ( '%%routeGroup%%' , $ this -> routeGroup , File :: get ( $ newIndexFile ) ) ) ; }
Update values between %% with real values in index view.

@param  string $newIndexFile

@return void
Update values between %% with real values in index view .