TPL = []; } public function displayPage(Request $request) { $user = Auth::user(); $this->TPL["name"] = $user->name; $this->TPL["failed"] = null; $this->TPL["token"] = null; $this->TPL["items"] = Inventory::get(); return view("dashboard", $this->TPL); } }