Welcome Guest, Not a member yet? Register   Sign In
CodeIgniter4 - Event pass by ???
#4

Actually, there is some cleanup on that Autoload classmap file that needs to be done. Like most of it needs to be ripped out, I believe. It was originally an experiment to see if it increased the performance at all having them all listed, but it doesn't seem to.

In general, though, you can't really override any class loaded that way. That's why we provide the Services for most things. We might need to re-look at how Events is loaded in.

However, there's nothing saying you have to extend it for your own use. If you've got something that's replacing it, just replace and use that for your own event system, leaving Events to CodeIgniter's internal hooks, if that works for you.
Reply


Messages In This Thread
CodeIgniter4 - Event pass by ??? - by dmyers - 10-01-2018, 08:41 AM
RE: CodeIgniter4 - Event pass by ??? - by dmyers - 10-02-2018, 06:57 AM
RE: CodeIgniter4 - Event pass by ??? - by falko - 10-02-2018, 01:00 PM
RE: CodeIgniter4 - Event pass by ??? - by kilishan - 10-02-2018, 01:07 PM
RE: CodeIgniter4 - Event pass by ??? - by dmyers - 10-03-2018, 06:18 AM
RE: CodeIgniter4 - Event pass by ??? - by dmyers - 10-03-2018, 11:43 AM
RE: CodeIgniter4 - Event pass by ??? - by dmyers - 10-03-2018, 12:38 PM
RE: CodeIgniter4 - Event pass by ??? - by dmyers - 10-08-2018, 07:55 AM
RE: CodeIgniter4 - Event pass by ??? - by abrkof - 01-04-2020, 09:41 AM



Theme © iAndrew 2016 - Forum software by © MyBB