Closed LordSimal closed 2 years ago
I am ambivalent to this. I don't personally use events much, but if it provides value to others I'm happy to move forwards.
Not a fan of adding empty files to the skeleton. We could add a section in the manual instead.
To be fair I personally haven't implemented events in my own app as well because I haven't found the need to. Maybe adjusting the book is better here indeed so the app template doesn't get bloated with files who are barely needed.
[ ] bug
[x] enhancement
[ ] feature-discussion (RFC)
CakePHP Application Skeleton Version: 4.x
I just re-watched Jorge Gonzalez's CakeFest 2021 workshop and was wondering if we can/should a placeholder
config/events.php
and add a placeholder require to theconfig/bootstrap.php
to let people knowDo we want to encourage people to use events or let them search/ask for the implementation themselves?
Was just curious what your opinions on that are. 😄