Posts: 13
Threads: 0
Joined: Dec 2014
Reputation:
0
how i can auto load a class in events?
example: class, function? in the directory libraries.
Posts: 1,284
Threads: 65
Joined: Oct 2014
Reputation:
82
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.