Requests | Blesta

Requests

Extend Container - Hooks

Emanuele Vedova shared this idea 4 years ago
Under Consideration

Have something like WHMCS Hooks would be nice.

Ok to not develop modules/plugins already developed by third party, to save time, but almost to have them not overwritten on upgrade/updates etc ... a structured and well defined method will be very nice.

>Blesta use container, and from v4.0 it's possible to extend the container. but we can't extent it globally unless we load our class in config/services.php .

>extending the container from preAction event is not working. any chance to allow us developers to load our classes in the system without hacking the core files (init.php file or the services.php file) ?

Ref. https://www.blesta.com/forums/index.php?/topic/13122-extend-container/