codeigniter 4 get method deprecated
Using CodeIgniter 4: Explanation of Deprecated "get" Method
// Before
$data = $request->getGet('paramName');
// After
$data = $request->getVar('paramName');
- The
getGet
method is deprecated in CodeIgniter 4. - In the updated version, you should use the
getVar
method instead. - This change ensures compatibility with the latest version of CodeIgniter and helps maintain code consistency.