public function mod() { $phpCode = new Code(); $results = $phpCode->get(); if (count($results) > 0) { } return view('moderator', ['result' => $results]); }