compact laravel

73

$html = view('users.edit', compact('user'))->render();
Route::get('/', function () {
    return view('greeting', ['name' => 'James']);
});
return View::make('myviewfolder.myview', compact('view1','view2','view3'));

Comments

Submit
0 Comments