Closed mariuswilms closed 1 year ago
I ended up maintaining the _init()
functionality, as the complexity trade-off is low compared to the ability to bootstrap a class without its dependencies, and feedback from the community was that the migration burden would have been too significant.
This functionality has been incorporated into the AutoConfigurable
trait.
Base classes are set to be removed in 2.0, they have been deprecated in 1.2.
_init()
usage, where tests rely on skipping the initialization phase, change classes to accept an alternative less-generically named option to skip certain parts of the initialization phase. The_init()
class methods will than need to be merged into the constructor._init()
should make use ofAutoConfigurable
instead.$_config
The
_init
removal is being worked upon in theinit-removal
branch.