1namespace App\Http\Controllers;
2
3use App\Classes\PricesClass;
4
5class PagesController extends Controller
6{
7 /**
8 * Display homepage.
9 *
10 * @return Response
11 */
12 public function getHome()
13 {
14 $pricesClass = new PricesClass();
15 $prices = $pricesClass->getPrices();
16 return view('pages.home', compact('prices'));
17 }
18
19}
1 "autoload": {
2 "classmap": [
3 "database"
4 ],
5 "psr-4": {
6 "App\\": "app/"
7 },
8 "files": [
9 "app/functions/prices.php"
10 ]
11 },
12