We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1d4ffc commit 76c648bCopy full SHA for 76c648b
app/Controllers/BaseController.php
@@ -3,6 +3,7 @@
3
namespace App\Controllers;
4
5
use CodeIgniter\Controller;
6
+use CodeIgniter\HTTP\IncomingRequest;
7
use CodeIgniter\HTTP\RequestInterface;
8
use CodeIgniter\HTTP\ResponseInterface;
9
use Psr\Log\LoggerInterface;
@@ -20,6 +21,13 @@
20
21
22
class BaseController extends Controller
23
{
24
+ /**
25
+ * Instance of the main Request object.
26
+ *
27
+ * @var IncomingRequest
28
+ */
29
+ protected $request;
30
+
31
/**
32
* An array of helpers to be loaded automatically upon
33
* class instantiation. These helpers will be available
0 commit comments