• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
get_instance function

#3
(10-16-2016, 08:31 AM)sv3tli0 Wrote: Autoloading removed the need of such method.
Now you have static service container which you can access to get DB or other service where you need it.
You can directly call objects which will be auto find.


Wow that's a huge improvement, thank you for your answer/knowledge!
Reply


Messages In This Thread
get_instance function - by superior - 10-16-2016, 06:12 AM
RE: get_instance function - by sv3tli0 - 10-16-2016, 08:31 AM
RE: get_instance function - by superior - 10-17-2016, 01:06 AM
RE: get_instance function - by webdevron - 08-15-2019, 06:47 AM
RE: get_instance function - by dave friend - 08-15-2019, 10:02 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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