Skip to content

Commit 76c648b

Browse files
committed
[DocBlock] Add property $request with @var IncomingRequest in BaseController
1 parent b1d4ffc commit 76c648b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

app/Controllers/BaseController.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
namespace App\Controllers;
44

55
use CodeIgniter\Controller;
6+
use CodeIgniter\HTTP\IncomingRequest;
67
use CodeIgniter\HTTP\RequestInterface;
78
use CodeIgniter\HTTP\ResponseInterface;
89
use Psr\Log\LoggerInterface;
@@ -20,6 +21,13 @@
2021

2122
class BaseController extends Controller
2223
{
24+
/**
25+
* Instance of the main Request object.
26+
*
27+
* @var IncomingRequest
28+
*/
29+
protected $request;
30+
2331
/**
2432
* An array of helpers to be loaded automatically upon
2533
* class instantiation. These helpers will be available

0 commit comments

Comments
 (0)