/** * fetch index view template * * @return String */ public function GenerateIndex() { $standardApi = $this->names->standardapi(); $foreach = $this->names->foreachh(); $endforeach = $this->names->endforeachh(); $open = $this->names->open(); $close = $this->names->close(); $TableName = $this->names->TableName(); $TableNames = $this->names->TableNames(); $TableNameSingle = $this->names->TableNameSingle(); $request = $this->ViewData; return view('template.views.index', compact('request', 'TableName', 'TableNames', 'TableNameSingle', 'open', 'close', 'foreach', 'endforeach', 'standardApi'))->render(); }