• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to get the instance of CI4?

#1
We can easily get the Instance in CI3 like below


PHP Code:
$CI = &get_instance(); 


How can I get it in CI4?
Reply

#2
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 )
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.