Welcome Guest, Not a member yet? Register   Sign In
How to get the instance of CI4?

We can easily get the Instance in CI3 like below

PHP Code:
$CI = &get_instance(); 

How can I get it in CI4?

There is no more instance of CodeIgniter it is all OOP now.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )

Theme © iAndrew 2016 - Forum software by © MyBB