Эх, теперь придётся прежний EventConfigurator копировать в проект, поскольку его теперь нет https://github.com/yiisoft/yii-event/pull/5 хороший был конфигуратор для использования вне yii 😐
Насчет overengineered, я б скорее сказал, что наоборот yii2 был слишком простым и местами скучным, и по мере того как проект на нем рос, все сложнее было на её простой архитектуре все пилить. Хотя и PHP был тогда не overengineered.
To return a name from the controller, why use regex, and excessive cyclomatic complexity, when the controller can return the name nobody will die for that.
To return a name from the controller, why use regex, and excessive cyclomatic complexity, when the controller can return the name nobody will die for that.
The search for the layout had been eliminated, since that is what Theme :: class is for, to rewrite the layout and views, I don't understand the truth.
@samdark я правильно понимаю, что event-dispatcher без особого конфигуратора (который теперь сервис-провайдер, тянущий за собой контейнер) не будет сразу учитывать родословную класса события? Т.е. запускать подписчиков на родителей класса события?
To return a name from the controller, why use regex, and excessive cyclomatic complexity, when the controller can return the name nobody will die for that.
Oh... I thought we were going to make it optional :)