Hi.
I just wanted to ask why are you not using events as widely as possible?
Because of performance reasons?
I am talking about presence of the ->trigger(EVENT_NAME) more often in the core.
For example in the end of Module::init one could trigger MODULE_INIT event.
And so I could tune any module via it’s config array.
Now I am expected to override this init method for my module to do some initial work.
And one could possibly think of a lot of places inside framework where it could be used the same way. Like this:
UrlManager::EVENT_BEFORE_CREATE_URL
UrlManager::EVENT_AFTER_CREATE_URL
…