• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CodeIgniter4 - Event pass by ???

#11
how i can auto load a class in events?

example: class, function? in the directory libraries.
Reply

#12
As long as it is namespaced and the app will recognize the namespace (either through our autoloader or Composer) it should work just fine. Provide the fully qualified class name when you assign your listener.
Support Development  • Practical CodeIgniter 3  •
Myth:AuthVulcan - CLI Tools for CI4
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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