Skip to content
This repository was archived by the owner on Nov 18, 2025. It is now read-only.

Commit 05ed759

Browse files
committed
✨ introduce ->use as ->load alias
Signed-off-by: otengkwame <[email protected]>
1 parent e9fcf06 commit 05ed759

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

framework/core/Controller.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,13 @@ class CI_Controller {
6565
*/
6666
public $load;
6767

68+
/**
69+
* CI_Loader
70+
*
71+
* @var CI_Loader
72+
*/
73+
public $use;
74+
6875
/**
6976
* Class constructor
7077
*
@@ -83,6 +90,7 @@ public function __construct()
8390
}
8491

8592
$this->load =& load_class('Loader', 'core');
93+
$this->use = $this->load;
8694
$this->load->initialize();
8795
log_message('info', 'Controller Class Initialized');
8896
}

0 commit comments

Comments
 (0)