Skip to content

Commit d099945

Browse files
committed
Declared session in BaseController to avoid 8.2 depreciation
1 parent 66e0061 commit d099945

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

app/Controllers/BaseController.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,13 @@ abstract class BaseController extends Controller
3737
*/
3838
protected $helpers = [];
3939

40+
/**
41+
* To declare the session propety to allow for global
42+
* initialization in the initController() method
43+
* @var object
44+
*/
45+
public $session;
46+
4047
/**
4148
* Constructor.
4249
*/

0 commit comments

Comments
 (0)