route()->getController(); return view('users.index', compact('controller')); } }
controller->getController(); $this->layout = 'main'; return $this->render('index', compact('controller')); } }Package library: The getController() function is mainly used in MVC frameworks and is included in the core libraries of these frameworks. Therefore, it does not belong to a specific package or library.