Welcome Guest, Not a member yet? Register   Sign In
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.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB